CVE-2021-29425
Possible limited path traversal vulnerabily in Apache Commons IO
MEDIUM 4.8EPSS 10.5%
In Apache Commons IO before 2.7, When invoking the method FileNameUtils.normalize with an improper input string, like "//../foo", or "\\..\foo", the result would be the same value, thus possibly providing access to files in the parent directory, but not further above (thus "limited" path traversal), if the calling code would use the result to construct a path value.
- Affected
- Apache Software Foundation · Apache Commons IO
- CVSS v3.1 NVD
- 4.8 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N - CVSS v3.1 CNA
- 6.5 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N - CVSS v2.0 NVD
- 5.8 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:N - EPSS
- 10.55% chance of exploitation in the next 30 days, 96th percentile
- Published
- 2021-04-13
- Updated
- 2026-10-07
Proof-of-concept exploits (2)
- arsalanraja987/java-cve-2021-29425-tika-xxe0★ · 2025-07-08
- shoucheng3/asf__commons-io_CVE-2021-29425_2-60★ · 2025-08-16
Security advisories
- https://issues.apache.org/jira/browse/IO-556
- https://lists.apache.org/thread.html/rc359823b5500e9a9a2572678ddb8e01d3505a7ffcadfa8d13b8…
- https://lists.debian.org/debian-lts-announce/2021/08/msg00016.html
- https://security.netapp.com/advisory/ntap-20220210-0004
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- advisories/GHSA-gwrp-pvrq-jmwv