Vulnerabilities in pkg:maven/io.vertx/vertx-stomp
PACKAGECVE-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.
pkg:maven/io.vertx/vertx-stomp
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
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).
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.
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-stomp</artifactId>
<version>3.9.16</version>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-stomp</artifactId>
<version>4.4.2</version>
</dependency>
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
CVE-2023-32081 Affected Vertx stomp Versions
2 component(s)| 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?
Which Vertx stomp versions are affected?
What version fixes CVE-2023-32081?
Is vertx-stomp affected?
What is the CVSS score of CVE-2023-32081?
What CWE is associated with CVE-2023-32081?
How can I check Maven dependencies for CVE-2023-32081?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}