GHSA-q95j-488q-5q3p: Apiman manager api impl Denial of Service Vulnerability

MODERATE
CVSS 6.5
CWE-787
Published
Advisory Summary

GHSA-q95j-488q-5q3p is a MODERATE (CVSS 6.5) denial of service vulnerability (CWE-787: Out-of-bounds Write) affecting Apiman manager api impl libraries in the Maven ecosystem. The issue involves apiman manager api affected by jackson denial of service vulnerability. Remediation is available by upgrading affected packages to version 3.0.0.Final.

GHSA-q95j-488q-5q3p at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-q95j-488q-5q3p
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-787: Out-of-bounds Write
Affected Product Apiman manager api impl
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix GHSA-q95j-488q-5q3p

To remediate this vulnerability, upgrade all affected Apiman manager api impl dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

io.apiman:apiman-manager-api-impl fixed: 3.0.0.Final
<dependency>
    <groupId>io.apiman</groupId>
    <artifactId>apiman-manager-api-impl</artifactId>
    <version>3.0.0.Final</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=io.apiman

How to Check if You Are Affected

To determine whether your Java application is affected by GHSA-q95j-488q-5q3p, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=io.apiman

Analyze the terminal output to locate any version of Apiman manager api impl in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.0.Final), your application is affected.

Note: The mvn dependency:tree -Dincludes=io.apiman command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-787: Out-of-bounds Write, where the product writes data past the end, or before the beginning, of the intended buffer. In Apiman manager api impl, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Due to a vulnerability in `jackson-databind <= 2.12.6.0`, an authenticated attacker could craft an Apiman policy configuration which, when saved, may cause a denial of service on the Apiman Manager API. This does **not** affect the Apiman Gateway. ### Patches Upgrade to Apiman 3.0.0.Final or later. If you are using an older version of Apiman and need to remain on that version, contact your Apiman [support provider](https://www.apiman.io/support.html) for advice/long-term support. ### Workarounds If all users of the Apiman Manager are trusted then you may assess this is low risk, as an account is required to exploit the vulnerability. ### References * Apiman maintainer and security contact: marc@blackparrotlabs.io * https://nvd.nist.gov/vuln/detail/CVE-2020-36518 * https://github.com/FasterXML/jackson-databind/issues/2816

GHSA-q95j-488q-5q3p Affected Apiman manager api impl Versions

1 component(s)
Fixed Versions:
3.0.0.Final
Product / Package Ecosystem Affected Versions Fixed Version
io.apiman:apiman-manager-api-impl
Maven
< 3.0.0.Final
3.0.0.Final

References

Frequently Asked Questions

What is GHSA-q95j-488q-5q3p?
GHSA-q95j-488q-5q3p is a security vulnerability in Apiman manager api impl involving Apiman Manager API affected by Jackson denial of service vulnerability under CWE-787: Out-of-bounds Write.
Which Apiman manager api impl versions are affected?
Affected versions include releases prior to 3.0.0.Final across affected packages: io.apiman:apiman-manager-api-impl.
What version fixes GHSA-q95j-488q-5q3p?
Upgrading to 3.0.0.Final (or the latest patched release for your respective branch) resolves the vulnerability.
Is apiman-manager-api-impl affected?
Yes, io.apiman:apiman-manager-api-impl is affected in releases prior to 3.0.0.Final. Upgrade your dependency to 3.0.0.Final or later.
What is the CVSS score of GHSA-q95j-488q-5q3p?
GHSA-q95j-488q-5q3p has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with GHSA-q95j-488q-5q3p?
GHSA-q95j-488q-5q3p is classified under CWE-787: Out-of-bounds Write (The product writes data past the end, or before the beginning, of the intended buffer.).
How can I check Maven dependencies for GHSA-q95j-488q-5q3p?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.apiman'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-q95j-488q-5q3p",
  "modified" : "2023-01-09T20:05:31Z",
  "published" : "2023-01-09T20:05:31Z",
  "aliases" : [ ],
  "summary" : "Apiman Manager API affected by Jackson denial of service vulnerability",
  "details" : "### Impact\n\nDue to a vulnerability in `jackson-databind <= 2.12.6.0`, an authenticated attacker could craft an Apiman policy configuration which, when saved, may cause a denial of service on the Apiman Manager API.\n\nThis does **not** affect the Apiman Gateway.\n\n### Patches\n\nUpgrade to Apiman 3.0.0.Final or later.\n\nIf you are using an older version of Apiman and need to remain on that version, contact your Apiman [support provider](https://www.apiman.io/support.html) for advice/long-term support.\n\n### Workarounds\n\nIf all users of the Apiman Manager are trusted then you may assess this is low risk, as an account is required to exploit the vulnerability.\n\n### References\n\n* Apiman maintainer and security contact: marc@blackparrotlabs.io\n* https://nvd.nist.gov/vuln/detail/CVE-2020-36518\n* https://github.com/FasterXML/jackson-databind/issues/2816",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.apiman:apiman-manager-api-impl"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.0.0.Final"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.2.3.Final"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/apiman/apiman/security/advisories/GHSA-q95j-488q-5q3p"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-36518"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FasterXML/jackson-databind/issues/2816"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apiman/apiman"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-787" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-01-09T20:05:31Z",
    "nvd_published_at" : null
  }
}