CVE-2023-5685: XNIO denial of service vulnerability
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.59532%
CWE
Published
3/22/2024
Updated
11/26/2024
KEV Status
No
Technology Java
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version | 
|---|---|---|---|
| org.jboss.xnio:xnio-api | maven | <= 3.8.13.Final | 3.8.14.Final | 
Vulnerability Intelligence Miggo AI
Miggo AI
 Root Cause Analysis
Root Cause Analysis
The vulnerability stems from recursive calls in NotifierState's notification methods (notifyDone/notifyFailed/notifyCancelled) that traverse a chain of nested states. The original implementation (pre-patch) used direct recursion via 'next.notifyX()' calls, which could exhaust the stack when the chain is large. The fix introduced iterative traversal via NestedState class. The vulnerable functions are explicitly shown in the commit diff modifying NotifierState's notification methods before the loop-based approach was implemented.