CVE-2021-29425
CVSS v3
4.8
MEDIUM
EPSS Score
10.5 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for apache-commons-io.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- com.cosium.vet:vetMavenfrom 1.0 · no fixed version listed
- com.virjar:ratel-apiMavenfrom 1.0.0 · no fixed version listed
- commons-io:commons-ioMavenall versions · fixed in 2.7
- net.hasor:cobble-langMavenfrom 4.4.1 · no fixed version listed
- org.apache.commons:commons-ioMavenall versions · no fixed version listedand 2 other packages
- org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-ioMavenfrom 1.4 · no fixed version listed
- org.checkerframework.annotatedlib:commons-ioMavenfrom 2.6 · fixed in 2.7
- org.smartboot.servlet:servlet-coreMavenfrom 0.1.9 · no fixed version listed
Vendor advisories
apache-commons-io: Limited path traversal in Apache Commons IO 2.2 to 2.6
commons-io as a component of A-MQ Clients 2 · commons-io as a component of Red Hat BPM Suite 6 · commons-io as a component of Red Hat Data Grid 8
Red Hat Security Advisory: Red Hat Decision Manager 7.12.1 security update
Red Hat Security Advisory: Red Hat Process Automation Manager 7.12.1 security update
Red Hat Security Advisory: Red Hat Fuse 7.10.0 release and security update
Red Hat Security Advisory: Red Hat AMQ Broker 7.9.0 release and security update
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.1 security update
10 more advisories
Description
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.
Technical details
- Published
- 2021-04-13
Frequently asked questions
What is CVE-2021-29425?
Is CVE-2021-29425 actively exploited?
What is the CVSS score for CVE-2021-29425?
Running apache-commons-io? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.