Vulnerabilities in pkg:maven/io.apiman/apiman-gateway-platforms-vertx

PACKAGE
Advisory Summary

GHSA-q2fj-6h62-59m2 is a HIGH (CVSS 8.1) apiman vert.x gateway has transitive vulnerability (General Security Weakness) affecting Apiman gateway platforms vertx libraries in the Maven ecosystem. The issue involves apiman vert.x gateway has transitive hazelcast connection caching issue. Remediation is available by upgrading affected packages to version 3.0.0.Final.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/io.apiman/apiman-gateway-platforms-vertx

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/io.apiman/apiman-gateway-platforms-vertx. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-q2fj-6h62-59m2 - HIGH Apiman Vert.x Gateway has Transitive Hazelcast connection caching issue

GHSA-q2fj-6h62-59m2 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-q2fj-6h62-59m2
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification General Security Weakness
Affected Product Apiman gateway platforms vertx
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.1

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

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

How to Fix GHSA-q2fj-6h62-59m2

To remediate this vulnerability, upgrade all affected Apiman gateway platforms vertx 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-gateway-platforms-vertx fixed: 3.0.0.Final
<dependency>
    <groupId>io.apiman</groupId>
    <artifactId>apiman-gateway-platforms-vertx</artifactId>
    <version>3.0.0.Final</version>
</dependency>
io.apiman:apiman-distro-vertx fixed: 3.0.0.Final
<dependency>
    <groupId>io.apiman</groupId>
    <artifactId>apiman-distro-vertx</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-q2fj-6h62-59m2, 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 gateway platforms vertx 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 General Security Weakness. In Apiman gateway platforms vertx, 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 If you are using the **Apiman Vert.x Gateway** prior to Apiman 3.0.0.Final, a connection caching issue in Hazelcast could allow an unauthenticated, remote attacker to access and manipulate data in the cluster with another authenticated connection's identity. Hazelcast is a transitive dependency of the Apiman Vert.x Gateway. The precise risk is difficult to quantify at this juncture as plugins deployed by users may make use of Hazelcast in a different manner to the main Apiman codebase. If any of your custom Apiman plugins specify Hazelcast dependencies, you should also bump these versions. Hint: an easy way to track Apiman dependency versions is to use `apiman-parent`. If you use the Apiman Tomcat or WildFly Gateway this does not affect you. ### 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 to your Apiman support provider for advice/long-term support. ### Workarounds None (other than doing your own build). ### References * https://github.com/advisories/GHSA-c5hg-mr8r-f6jp

GHSA-q2fj-6h62-59m2 Affected Apiman gateway platforms vertx Versions

2 component(s)
Fixed Versions:
3.0.0.Final
Product / Package Ecosystem Affected Versions Fixed Version
io.apiman:apiman-gateway-platforms-vertx
Maven
< 3.0.0.Final
3.0.0.Final
io.apiman:apiman-distro-vertx
Maven
< 3.0.0.Final
3.0.0.Final

References

Frequently Asked Questions

What is GHSA-q2fj-6h62-59m2?
GHSA-q2fj-6h62-59m2 is a security vulnerability in Apiman gateway platforms vertx involving Apiman Vert.x Gateway has Transitive Hazelcast connection caching issue under General Security Weakness.
Which Apiman gateway platforms vertx versions are affected?
Affected versions include releases prior to 3.0.0.Final across affected packages: io.apiman:apiman-gateway-platforms-vertx, io.apiman:apiman-distro-vertx.
What version fixes GHSA-q2fj-6h62-59m2?
Upgrading to 3.0.0.Final (or the latest patched release for your respective branch) resolves the vulnerability.
Is apiman-gateway-platforms-vertx affected?
Yes, io.apiman:apiman-gateway-platforms-vertx is affected in releases prior to 3.0.0.Final. Upgrade your dependency to 3.0.0.Final or later.
Is apiman-distro-vertx affected?
Yes, io.apiman:apiman-distro-vertx 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-q2fj-6h62-59m2?
GHSA-q2fj-6h62-59m2 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with GHSA-q2fj-6h62-59m2?
GHSA-q2fj-6h62-59m2 is classified under General Security Weakness.
How can I check Maven dependencies for GHSA-q2fj-6h62-59m2?
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-q2fj-6h62-59m2",
  "modified" : "2022-12-30T22:13:59Z",
  "published" : "2022-12-30T22:13:59Z",
  "aliases" : [ ],
  "summary" : "Apiman Vert.x Gateway has Transitive Hazelcast connection caching issue",
  "details" : "### Impact\n\nIf you are using the **Apiman Vert.x Gateway** prior to Apiman 3.0.0.Final, a connection caching issue in Hazelcast could allow an unauthenticated, remote attacker to access and manipulate data in the cluster with another authenticated connection's identity.\n\nHazelcast is a transitive dependency of the Apiman Vert.x Gateway.\n\nThe precise risk is difficult to quantify at this juncture as plugins deployed by users may make use of Hazelcast in a different manner to the main Apiman codebase.\n\nIf any of your custom Apiman plugins specify Hazelcast dependencies, you should also bump these versions. \n\nHint: an easy way to track Apiman dependency versions is to use `apiman-parent`.\n\nIf you use the Apiman Tomcat or WildFly Gateway this does not affect you.\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 to your Apiman support provider for advice/long-term support.\n\n### Workarounds\n\nNone (other than doing your own build).\n\n### References\n\n* https://github.com/advisories/GHSA-c5hg-mr8r-f6jp",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.apiman:apiman-gateway-platforms-vertx"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.0.0.Final"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.apiman:apiman-distro-vertx"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.0.0.Final"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/apiman/apiman/security/advisories/GHSA-q2fj-6h62-59m2"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-c5hg-mr8r-f6jp"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apiman/apiman"
  }, {
    "type" : "WEB",
    "url" : "https://support.hazelcast.com/s/article/Security-Advisory-for-CVE-2022-36437"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-12-30T22:13:59Z",
    "nvd_published_at" : null
  }
}