CVE-2024-1459: Undertow Path Traversal vulnerability
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.9147%
CWE
Published
2/12/2024
Updated
11/22/2024
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
io.undertow:undertow-core | maven | < 2.2.31.Final | 2.2.31.Final |
io.undertow:undertow-core | maven | >= 2.3.0.Alpha1, < 2.3.12.Final | 2.3.12.Final |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from how Undertow's HTTP request parser handled path normalization. The commit diff shows added state tracking (PATH_SEGMENT_START/PATH_DOT_SEGMENT) and explicit handling of semicolons in dot segments. The test cases demonstrate that pre-patch versions would collapse '/..;/' into '../' during parsing. The handlePath function is directly modified in the patch to prevent this insecure normalization, confirming it as the vulnerable component.