CVE-2021-29425: Possible limited path traversal vulnerabily in Apache Commons IO
Vulnerability summary
CVE-2021-29425 is a medium (CVSS 6.5) Improper Input Validation vulnerability in apache software foundation apache commons io. EPSS estimates a 10.55% chance of exploitation in the next 30 days, higher than 95.7% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 1Timeline
- 13-04-2021PublishedVulnerability first disclosed.
- 07-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NDiffers
- OSV · WolfiEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NDiffers
- OSV · ChainguardEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NDiffers
- OSV · MavenEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NDiffers
- NVDNIST4.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:NDiffers
EPSS trend
Probability
10.55%
Chance of exploitation in the next 30 days
Percentile
96%
Versus all other CVEs
30-day change
Increase +0.64 pp
From 9.90% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (issues.apache.org)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-22Improper Limitation of a Pathname to a Restricted DirectoryThe product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard106 products
- druid< 35.0.1-r1 | All versions (No fix recorded)
- eco-java-gradle-1.11All versions (No fix recorded)
- eco-java-gradle-2.0All versions (No fix recorded)
- eco-java-gradle-2.1All versions (No fix recorded)
- eco-java-gradle-2.10All versions (No fix recorded)
Oracle57 products
- access_manager11.1.2.3.0 | 12.2.1.3.0 | 12.2.1.4.0
- agile_engineering_data_management6.2.1.0
- agile_product_lifecycle_management9.3.6
- application_performance_management13.4.1.0 | 13.5.1.0
- application_testing_suite13.3.0.1
Suse4 products
- apache-commons-io&distro=SUSE Linux Enterprise Module for Basesystem 15 SP2< 2.6-3.3.1
- apache-commons-io&distro=SUSE Linux Enterprise Server 12 SP5< 2.4-9.3.1
- apache-commons-io&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5< 2.4-9.3.1
- apache-commons-io&distro=SUSE Linux Enterprise Software Development Kit 12 SP5< 2.4-9.3.1
Debian2 products
- commons-io< 2.5-1+deb9u1 | < 2.8.0-1
- debian_linuxEOL9.0
Opensuse2 products
- apache-commons-io&distro=openSUSE Leap 15.2< 2.6-lp152.2.3.1
- apache-commons-io&distro=openSUSE Tumbleweed< 2.11.0-2.1
Apache1 product
- commons_io2.2 | 2.3 | 2.4 | 2.5 | 2.6
Apache software foundation1 product
- apache commons ioApache Commons IO 2.2 | Apache Commons IO 2.3 | Apache Commons IO 2.4 | Apache Commons IO 2.5 | Apache Commons IO 2.6
Com.cosium.vet1 product
- vet≥ 1.0, ≤ 3.22
Com.diamondq.common1 product
- common-thirdparty.jcasbin1.4.0
Com.liferay1 product
- com.liferay.sass.compiler.jsass1.0.1
Com.virjar1 product
- ratel-api≥ 1.0.0, ≤ 1.3.6
Commons-io1 product
- commons-io< 2.7
Net.hasor1 product
- cobble-lang≥ 4.4.1, ≤ 4.6.2
Netapp1 product
Org.apache.commons1 product
- commons-io1.3.2
Org.apache.servicemix.bundles1 product
- org.apache.servicemix.bundles.commons-io≥ 1.4, ≤ 1.5
Org.checkerframework.annotatedlib1 product
- commons-io≥ 2.6, < 2.7
Org.smartboot.servlet1 product
- servlet-core≥ 0.1.9, ≤ 0.6
Ubuntu1 product
- commons-io< 2.6-2ubuntu0.18.04.1 | < 2.6-2ubuntu0.20.04.1 | < 2.4-2ubuntu0.1~esm1 | All versions (No fix recorded)
Wolfi1 product
- druid< 35.0.1-r1 | All versions (No fix recorded)
20 vendors · 186 products
References
100 linksShow all 100 references
- lists.debian.org/debian-lts-announce/2021/08/msg00016.htmlMailing ListX Refsource MLISTAdvisoryWEBThird Party Advisory
- lists.opensuse.org/archives/…Advisory