Vulnerabilities in pkg:maven/org.jboss.xnio/xnio-api
PACKAGECVE-2023-5685 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Xnio api libraries in the Maven ecosystem. The issue involves xnio denial of service vulnerability. Remediation is available by upgrading affected packages to version 3.8.14.Final.
pkg:maven/org.jboss.xnio/xnio-api
Vulnerability advisories affecting package pkg:maven/org.jboss.xnio/xnio-api. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-7f88-5hhx-67m2 | CVE-2023-5685 | HIGH | XNIO denial of service vulnerability |
CVE-2023-5685 at a Glance
Security Impact
CVSS: 7.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:N/I:N/A:H).
How to Fix CVE-2023-5685
To remediate this vulnerability, upgrade all affected Xnio api 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>org.jboss.xnio</groupId>
<artifactId>xnio-api</artifactId>
<version>3.8.14.Final</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.jboss.xnio
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2023-5685, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.jboss.xnio
Analyze the terminal output to locate any version of Xnio api in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.8.14.Final), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.jboss.xnio 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Xnio api, 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-5685 Affected Xnio api Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.jboss.xnio:xnio-api
|
Maven |
< 3.8.14.Final
|
3.8.14.Final
|
References
Frequently Asked Questions
What is CVE-2023-5685?
Which Xnio api versions are affected?
What version fixes CVE-2023-5685?
Is xnio-api affected?
What is the CVSS score of CVE-2023-5685?
What CWE is associated with CVE-2023-5685?
How can I check Maven dependencies for CVE-2023-5685?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7f88-5hhx-67m2",
"modified" : "2024-11-26T03:36:37Z",
"published" : "2024-03-22T21:30:56Z",
"aliases" : [ "CVE-2023-5685" ],
"summary" : "XNIO denial of service vulnerability",
"details" : "A flaw was found in XNIO. The XNIO NotifierState that can cause a Stack Overflow Exception when the chain of notifier states becomes problematically large can lead to uncontrolled resource management and a possible denial of service (DoS). Version 3.8.14.Final is expected to contain a fix.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.jboss.xnio:xnio-api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.8.14.Final"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.8.13.Final"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-5685"
}, {
"type" : "WEB",
"url" : "https://github.com/xnio/xnio/commit/ffabdcdda508ef87aeadad5ca3f854e274d60ec1"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2023:7637"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2023:7638"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2023:7639"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2023:7641"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:10207"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:10208"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2024:2707"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2023-5685"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2241822"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/xnio/xnio"
}, {
"type" : "WEB",
"url" : "https://github.com/xnio/xnio/blob/3.8.13.Final/api/src/main/java/org/xnio/AbstractIoFuture.java#L249"
}, {
"type" : "WEB",
"url" : "https://issues.redhat.com/browse/XNIO-423"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-03-24T20:23:58Z",
"nvd_published_at" : "2024-03-22T19:15:07Z"
}
}