Vulnerabilities in pkg:maven/io.vertx/vertx-stomp

PACKAGE
Advisory Identifier: GHSA-gvrq-cg5r-7chp
Advisory Summary

CVE-2023-32081 is a MODERATE (CVSS 6.5) vert.x stomp server process client vulnerability (CWE-287: Improper Authentication) affecting Vertx stomp libraries in the Maven ecosystem. The issue involves vert.x stomp server process client frames that would not send initially a connect frame. Remediation is available by upgrading affected packages to version 3.9.16, 4.4.2.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/io.vertx/vertx-stomp

1 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-gvrq-cg5r-7chp CVE-2023-32081 MODERATE Vert.x STOMP server process client frames that would not send initially a connect frame

CVE-2023-32081 at a Glance

CVE Identifier CVE-2023-32081
GHSA Identifier GHSA-gvrq-cg5r-7chp
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-287: Improper Authentication
Affected Product Vertx stomp
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:N/UI:N/S:U/C:L/I:L/A:N).

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

How to Fix CVE-2023-32081

To remediate this vulnerability, upgrade all affected Vertx stomp 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.vertx:vertx-stomp fixed: 3.9.16
<dependency>
    <groupId>io.vertx</groupId>
    <artifactId>vertx-stomp</artifactId>
    <version>3.9.16</version>
</dependency>
io.vertx:vertx-stomp fixed: 4.4.2
<dependency>
    <groupId>io.vertx</groupId>
    <artifactId>vertx-stomp</artifactId>
    <version>4.4.2</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.vertx

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2023-32081, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=io.vertx

Analyze the terminal output to locate any version of Vertx stomp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.9.16), your application is affected.

Note: The mvn dependency:tree -Dincludes=io.vertx 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Vertx stomp, 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 A Vert.x STOMP server processes client STOMP frames without checking that the client send an initial CONNECT frame replied with a successful CONNECTED frame. The client can subscribe to a destination or publish message without prior authentication. Any Vert.x STOMP server configured with an authentication handler is impacted. ### Patches The issue is patched in Vert.x 4.4.2 and Vert.x 3.9.16 ### Workarounds No trivial workaround.

CVE-2023-32081 Affected Vertx stomp Versions

2 component(s)
Fixed Versions:
3.9.164.4.2
Product / Package Ecosystem Affected Versions Fixed Version
io.vertx:vertx-stomp
Maven
≥ 3.1.0
< 3.9.16
3.9.16
io.vertx:vertx-stomp
Maven
≥ 4.0.0
< 4.4.2
4.4.2

References

Frequently Asked Questions

What is CVE-2023-32081?
CVE-2023-32081 is a security vulnerability in Vertx stomp involving Vert.x STOMP server process client frames that would not send initially a connect frame under CWE-287: Improper Authentication.
Which Vertx stomp versions are affected?
Affected versions include releases prior to 3.9.16, 4.4.2 across affected packages: io.vertx:vertx-stomp.
What version fixes CVE-2023-32081?
Upgrading to 3.9.16, 4.4.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is vertx-stomp affected?
Yes, io.vertx:vertx-stomp is affected in releases prior to 3.9.16, 4.4.2. Upgrade your dependency to 3.9.16, 4.4.2 or later.
What is the CVSS score of CVE-2023-32081?
CVE-2023-32081 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2023-32081?
CVE-2023-32081 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Maven dependencies for CVE-2023-32081?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=io.vertx'. 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-gvrq-cg5r-7chp",
  "modified" : "2023-05-12T20:20:19Z",
  "published" : "2023-05-12T20:20:19Z",
  "aliases" : [ "CVE-2023-32081" ],
  "summary" : "Vert.x STOMP server process client frames that would not send initially a connect frame",
  "details" : "### Impact\nA Vert.x STOMP server processes client STOMP frames without checking that the client send an initial CONNECT frame replied with a successful CONNECTED frame. The client can subscribe to a destination or publish message without prior authentication. Any Vert.x STOMP server configured with an authentication handler is impacted.\n\n### Patches\nThe issue is patched in Vert.x 4.4.2 and Vert.x 3.9.16\n\n### Workarounds\nNo trivial workaround.\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.vertx:vertx-stomp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.1.0"
      }, {
        "fixed" : "3.9.16"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "io.vertx:vertx-stomp"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.4.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/vert-x3/vertx-stomp/security/advisories/GHSA-gvrq-cg5r-7chp"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-32081"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/vert-x3/vertx-stomp/commit/0de4bc5a44ddb57e74d92c445f16456fa03f265b"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/vert-x3/vertx-stomp"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-287" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-05-12T20:20:19Z",
    "nvd_published_at" : "2023-05-12T14:15:10Z"
  }
}