CVE-2021-29425
Path Traversal and Improper Input Validation in Apache Commons IO
Record from NVD · Published April 12, 2021
commons-io is fixed in 2.7 (Maven Central)
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.
EPSS 10.55% · 95.9th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.checkerframework.annotatedlib:commons-io | Maven Central | 2.7 |
| com.virjar:ratel-api | Maven Central | 1.3.6 |
| org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-io | Maven Central | 1.5 |
| com.cosium.vet:vet | Maven Central | 3.22 |
| org.smartboot.servlet:servlet-core | Maven Central | 0.6 |
| commons-io:commons-io | Maven Central | 2.7, 2.6 |
| io.helidon:helidon-dependencies | Maven Central | [2.2.0 |
| net.hasor:cobble-lang | Maven Central | 4.6.2 |
| druid | Chainguard | 35.0.1-r1 |
| hadoop-fips-3.3.6 | Chainguard | 3.3.6-r23 |
| java-commons-io | Arch Linux | 2.8.0-1 |
| druid | Wolfi | 35.0.1-r1 |
17 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| oracle | banking_digital_experience | 18.3, 18.1, 17.2 |
| oracle | communications_converged_application_server_-_service_controller | 6.2 |
| oracle | weblogic_server | 14.1.1.0.0, 12.2.1.4.0, 12.2.1.3.0 |
| oracle | banking_platform | 2.7.0, 2.6.2, 2.3.0 |
| oracle | real_user_experience_insight | 13.5.1.0, 13.4.1.0 |
| oracle | retail_service_backbone | 14.1.3.0, 16.0.1, 19.0.1 |
| oracle | webcenter_portal | 12.2.1.4.0, 12.2.1.3.0 |
| oracle | commerce_guided_search | 11.3.2 |
| oracle | solaris_cluster | 4.0 |
| oracle | utilities_testing_accelerator | 6.0.0.1.1, 6.0.0.3.1, 6.0.0.2.2 |
| oracle | retail_merchandising_system | 19.0.1, 16.0.3 |
| oracle | blockchain_platform | 0 |
| oracle | retail_pricing | 19.0.1 |
| oracle | communications_cloud_native_core_network_repository_function | 1.14.0 |
| oracle | insurance_policy_administration | 11.0.2, 11.3.0, 11.2.8 |
| oracle | communications_diameter_intelligence_hub | 8.2.0, 8.0.0 |
| apache | commons_io | 2.5, 2.2, 2.3 |
| oracle | helidon | 2.2.0, 1.4.7 |
| oracle | retail_order_broker | 19.1, 16.0, 18.0 |
| oracle | banking_apis | 18.2, 18.1, 18.3 |
…and 44 more
Timeline
- Apr 12, 2021 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Feb 8, 2024 PoC Published
- Mar 7, 2026 Distribution Patch (25 in total, the first dated here)
- Mar 7, 2026 Security Advisory (29 in total, the first dated here)
- Aug 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-29425
vulnetix vdb fixes CVE-2021-29425
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-29425/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://issues.apache.org/jira/browse/IO-556 exploit
- https://lists.apache.org/thread.html/r01b4a1fcdf3311c936ce33d75a9398b6c255f00c1a2f312ac21effe1%40%3Cnotifications.zookeeper.apache.org%3E technical
- https://lists.apache.org/thread.html/r0bfa8f7921abdfae788b1f076a12f73a92c93cc0a6e1083bce0027c5%40%3Cnotifications.zookeeper.apache.org%3E technical
- https://lists.apache.org/thread.html/r0d73e2071d1f1afe1a15da14c5b6feb2cf17e3871168d5a3c8451436%40%3Ccommits.pulsar.apache.org%3E technical
- https://lists.apache.org/thread.html/r1c2f4683c35696cf6f863e3c107e37ec41305b1930dd40c17260de71%40%3Ccommits.pulsar.apache.org%3E technical
- https://lists.apache.org/thread.html/r20416f39ca7f7344e7d76fe4d7063bb1d91ad106926626e7e83fb346%40%3Cnotifications.zookeeper.apache.org%3E technical
- https://lists.apache.org/thread.html/r2345b49dbffa8a5c3c589c082fe39228a2c1d14f11b96c523da701db%40%3Cnotifications.zookeeper.apache.org%3E technical
- https://lists.apache.org/thread.html/r2721aba31a8562639c4b937150897e24f78f747cdbda8641c0f659fe%40%3Cusers.kafka.apache.org%3E technical
- https://lists.apache.org/thread.html/r27b1eedda37468256c4bb768fde1e8b79b37ec975cbbfd0d65a7ac34%40%3Cdev.myfaces.apache.org%3E technical
- https://lists.apache.org/thread.html/r2bc986a070457daca457a54fe71ee09d2584c24dc262336ca32b6a19%40%3Cdev.creadur.apache.org%3E technical
- https://lists.apache.org/thread.html/r2df50af2641d38f432ef025cd2ba5858215cc0cf3fc10396a674ad2e%40%3Cpluto-scm.portals.apache.org%3E technical
- https://lists.apache.org/thread.html/r345330b7858304938b7b8029d02537a116d75265a598c98fa333504a%40%3Cdev.creadur.apache.org%3E technical
- https://lists.apache.org/thread.html/r4050f9f6b42ebfa47a98cbdee4aabed4bb5fb8093db7dbb88faceba2%40%3Ccommits.zookeeper.apache.org%3E technical
- https://lists.apache.org/thread.html/r462db908acc1e37c455e11b1a25992b81efd18e641e7e0ceb1b6e046%40%3Cnotifications.zookeeper.apache.org%3E technical
- https://lists.apache.org/thread.html/r477c285126ada5c3b47946bb702cb222ac4e7fd3100c8549bdd6d3b2%40%3Cissues.zookeeper.apache.org%3E technical
- https://lists.apache.org/thread.html/r47ab6f68cbba8e730f42c4ea752f3a44eb95fb09064070f2476bb401%40%3Cdev.creadur.apache.org%3E technical
- https://lists.apache.org/thread.html/r5149f78be265be69d34eacb4e4b0fc7c9c697bcdfa91a1c1658d717b%40%3Cissues.zookeeper.apache.org%3E technical
- https://lists.apache.org/thread.html/r523a6ffad58f71c4f3761e3cee72df878e48cdc89ebdce933be1475c%40%3Cdev.creadur.apache.org%3E technical
- https://lists.apache.org/thread.html/r808be7d93b17a7055c1981a8453ae5f0d0fce5855407793c5d0ffffa%40%3Cuser.commons.apache.org%3E technical
- https://lists.apache.org/thread.html/r8569a41d565ca880a4dee0e645dad1cd17ab4a92e68055ad9ebb7375%40%3Cdev.creadur.apache.org%3E technical
…and 27 more