CVE-2021-29425 json
Possible limited path traversal vulnerabily in Apache Commons IO
published 2021-04-13 5 y ago modified 2026-10-07 32 d ago also GHSA-gwrp-pvrq-jmwv , EUVD-2021-0828
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 10.5%
- EPSS 10.5% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven commons-io:commons-io 2.7
- maven org.checkerframework.annotatedlib:commons-io 2.7
- oracle blockchain_platform 21.1.2
- oracle oss_support_tools 2.12.42
- oracle rest_data_services 21.2
- commons-io Debian 14, Debian 13, Debian 12 2.8.0-1
debian advisories DEBIAN-CVE-2021-29425
- commons-io Ubuntu 18.04 LTS 2.6-2ubuntu0.18.04.1
- commons-io Ubuntu 20.04 LTS 2.6-2ubuntu0.20.04.1
- commons-io Ubuntu Pro 14.04 LTS 2.4-2ubuntu0.1~esm1
ubuntu advisories UBUNTU-CVE-2021-29425
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- eap7-netty jboss enterprise application platform 7.4 4.1.63-1.Final_redhat_00001.1.el8eap
- eap7-wildfly jboss enterprise application platform 7.4 7.4.1-2.GA_redhat_00003.1.el8eap
- eap7-undertow jboss enterprise application platform 7.4 2.2.9-2.SP1_redhat_00001.1.el8eap
- eap7-velocity jboss enterprise application platform 7.4 2.3.0-1.redhat_00001.1.el8eap
- eap7-netty-all jboss enterprise application platform 7.4 4.1.63-1.Final_redhat_00001.1.el8eap
- eap7-jakarta-el jboss enterprise application platform 7.4, jboss enterprise application platform 7.3 3.0.3-2.redhat_00006.1.el8eap
- eap7-wildfly-elytron jboss enterprise application platform 7.4 1.15.5-1.Final_redhat_00001.1.el8eap
- eap7-wildfly-modules jboss enterprise application platform 7.4 7.4.1-2.GA_redhat_00003.1.el8eap
red hat advisories RHSA-2021:3658RHSA-2021:3656RHSA-2021:3466RHSA-2021:3468RHSA-2021:3467
- apache-commons-io SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 2.4-9.3.1
- apache-commons-io SLE Module for Basesystem 15 SP2 2.6-3.3.1
suse advisories SUSE-SU-2021:1315-1SUSE-SU-2021:1282-1
- apache-commons-io openSUSE Tumbleweed 2.11.0-2.1
- apache-commons-io openSUSE Leap 15.2 2.6-lp152.2.3.1
opensuse advisories openSUSE-SU-2024:12099-1openSUSE-SU-2021:0605-1
- java-commons-io Arch Linux 2.8.0-1
arch linux advisories AVG-1805
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-29425 updated cvss 4.8
apache-commons-io: Limited path traversal in Apache Commons IO 2.2 to 2.6
-
Red Hat A-MQ Clients 2 commons-ioaffected: no fix planned “Will not fix”
-
Red Hat BPM Suite 6 commons-ioaffected: no fix planned “Out of support scope”
-
Red Hat Data Grid 8 commons-ioaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 7 apache-commons-io, apache-commons-io-javadoc Red Hat JBoss A-MQ 6 commons-io Red Hat JBoss BRMS 6 commons-io Red Hat JBoss Data Grid 7 commons-io Red Hat JBoss Data Virtualization 6 commons-io Red Hat JBoss Enterprise Application Platform 6 commons-ioaffected: no fix planned “Out of support scope”
-
Red Hat JBoss Enterprise Application Platform Expansion Pack commons-ioaffected: no fix available
-
Red Hat JBoss Fuse 6 commons-io Red Hat JBoss Fuse Service Works 6 commons-ioaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Application Runtimes commons-io Red Hat Software Collections rh-maven36-apache-commons-io, rh-maven36-apache-commons-io-javadocaffected: no fix planned “Will not fix”
-
Red Hat EAP 7.3.9 releasefixed: vendor fix RHSA-2021:3471
show 15 moreshow fewer
-
Red Hat AMQ 7.9.0fixed: vendor fix RHSA-2021:3700
-
Red Hat AMQ Streams 1.8.0fixed: vendor fix RHSA-2021:3225
-
Red Hat EAP-XP 2.0.0 via EAP 7.3.x basefixed: vendor fix RHSA-2021:3516
-
Red Hat Fuse 7.10fixed: vendor fix RHSA-2021:5134
-
Red Hat JBoss EAP 7.3 for BaseOS-8 eap7-jakarta-el 3.0.3-2.redhat_00006.1.el8eap, eap7-wildfly 7.3.9-2.GA_redhat_00002.1.el8eap, eap7-jberet 1.3.9-1.Final_redhat_00001.1.el8eap, eap7-undertow 2.0.39-1.SP2_redhat_00001.1.el8eap, eap7-hibernate 5.3.20-4.SP2_redhat_00001.1.el8eap, eap7-narayana 5.9.12-1.Final_redhat_00001.1.el8eap, +59 morefixed: vendor fix RHSA-2021:3468
-
Red Hat JBoss EAP 7.3 for RHEL 6 Server eap7-jakarta-el 3.0.3-2.redhat_00006.1.el6eap, eap7-wildfly 7.3.9-2.GA_redhat_00002.1.el6eap, eap7-jberet 1.3.9-1.Final_redhat_00001.1.el6eap, eap7-undertow 2.0.39-1.SP2_redhat_00001.1.el6eap, eap7-hibernate 5.3.20-4.SP2_redhat_00001.1.el6eap, eap7-narayana 5.9.12-1.Final_redhat_00001.1.el6eap, +59 morefixed: vendor fix RHSA-2021:3466
-
Red Hat JBoss EAP 7.3 for RHEL 7 Server eap7-jakarta-el 3.0.3-2.redhat_00006.1.el7eap, eap7-wildfly 7.3.9-2.GA_redhat_00002.1.el7eap, eap7-jberet 1.3.9-1.Final_redhat_00001.1.el7eap, eap7-undertow 2.0.39-1.SP2_redhat_00001.1.el7eap, eap7-hibernate 5.3.20-4.SP2_redhat_00001.1.el7eap, eap7-narayana 5.9.12-1.Final_redhat_00001.1.el7eap, +61 morefixed: vendor fix RHSA-2021:3467
-
Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-apache-commons-io 2.10.0-1.redhat_00001.1.el7eapfixed: vendor fix RHSA-2021:3656
-
Red Hat JBoss EAP 7.4 for RHEL 8 eap7-apache-commons-io 2.10.0-1.redhat_00001.1.el8eapfixed: vendor fix RHSA-2021:3658
-
Red Hat JBoss Enterprise Application Platform commons-io 2.10.0.redhat-00001fixed: vendor fix RHSA-2021:3660
-
Red Hat Single Sign-On 7.4.9fixed: vendor fix RHSA-2021:3534
-
Red Hat RHDM 7.12.1fixed: vendor fix RHSA-2022:1110
-
Red Hat RHPAM 7.12.1fixed: vendor fix RHSA-2022:1108
-
Red Hat Vert.x 4.1.0fixed: vendor fix RHSA-2021:2465
-
Red Hat build of Quarkus commons-io Red Hat Enterprise Linux 8 apache-commons-io, apache-commons-io-javadoc Red Hat Enterprise Linux 9 apache-commons-io, apache-commons-io-javadoc Red Hat JBoss EAP 7.4 for RHEL 7 Server eap7-yasson 1.0.9-1.redhat_00001.1.el7eap, eap7-velocity 2.3.0-1.redhat_00001.1.el7eap, eap7-xalan-j2 2.7.1-36.redhat_00013.1.el7eap, eap7-jakarta-el 3.0.3-2.redhat_00006.1.el7eap, eap7-wildfly 7.4.1-2.GA_redhat_00003.1.el7eap, eap7-jberet 1.3.9-1.Final_redhat_00001.1.el7eap, +52 more Red Hat JBoss EAP 7.4 for RHEL 8 eap7-yasson 1.0.9-1.redhat_00001.1.el8eap, eap7-velocity 2.3.0-1.redhat_00001.1.el8eap, eap7-xalan-j2 2.7.1-36.redhat_00013.1.el8eap, eap7-jakarta-el 3.0.3-2.redhat_00006.1.el8eap, eap7-wildfly 7.4.1-2.GA_redhat_00003.1.el8eap, eap7-jberet 1.3.9-1.Final_redhat_00001.1.el8eap, +50 more Red Hat JBoss Enterprise Application Platform pom.xml, c3 0.6.0, c3 0.7.1, d3 5.9.2, ms 2.0.0, ms 2.1.2, +1442 morenot affected: vulnerable code not present
+1 more productsfewer
Red Hat JBoss Operations Network 3 commons-io
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 32 d ago
Exploit prediction
10.55% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- issues.apache.org https://issues.apache.org/jira/browse/IO-556 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
| GitHub | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | commons-io:commons-io | <2.7 |
2.7 |
| maven | com.cosium.vet:vet | >=1.0, <=3.22 |
no fix listed |
| maven | com.diamondq.common:common-thirdparty.jcasbin | 1 listed version |
no fix listed |
| maven | com.liferay:com.liferay.sass.compiler.jsass | 1 listed version |
no fix listed |
| maven | com.virjar:ratel-api | >=1.0.0, <=1.3.6 |
no fix listed |
| maven | net.hasor:cobble-lang | >=4.4.1, <=4.6.2 |
no fix listed |
| maven | org.apache.commons:commons-io | 1 listed version |
no fix listed |
| maven | org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-io | >=1.4, <=1.5 |
no fix listed |
| maven | org.checkerframework.annotatedlib:commons-io | >=2.6, <2.7 |
2.7 |
| maven | org.smartboot.servlet:servlet-core | >=0.1.9, <=0.6 |
no fix listed |
Affected products
- Apache Software Foundation Apache Commons IO
Classification
References
-
oracle.com
/security-alerts/cpuapr2022.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpujan2022.html
web, patch, third-party-advisory
-
oracle.com
/security-alerts/cpujul2022.html
web, patch, third-party-advisory
-
issues.apache.org
/jira/browse/IO-556
web, exploit, issue-tracking, vendor-advisory
-
lists.apache.org
/thread.html/rc359823b5500e9a9a2572678ddb8e01d3505a7ffcadfa8d13b8780ab%40%3Cuser.commons.apache.org%3E
web, mailing-list, vendor-advisory
-
lists.apache.org
/thread.html/rfd01af05babc95b8949e6d8ea78d9834699e1b06981040dde419a330%40%3Cdev.commons.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r8efcbabde973ea72f5e0933adc48ef1425db5cde850bf641b3993f31%40%3Cdev.commons.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r873d5ddafc0a68fd999725e559776dc4971d1ab39c0f5cc81bd9bc04%40%3Ccommits.pulsar.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r0d73e2071d1f1afe1a15da14c5b6feb2cf17e3871168d5a3c8451436%40%3Ccommits.pulsar.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r47ab6f68cbba8e730f42c4ea752f3a44eb95fb09064070f2476bb401%40%3Cdev.creadur.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/raa053846cae9d497606027816ae87b4e002b2e0eb66cb0dee710e1f5%40%3Cdev.creadur.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r8569a41d565ca880a4dee0e645dad1cd17ab4a92e68055ad9ebb7375%40%3Cdev.creadur.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rfa2f08b7c0caf80ca9f4a18bd875918fdd4e894e2ea47942a4589b9c%40%3Cdev.creadur.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r1c2f4683c35696cf6f863e3c107e37ec41305b1930dd40c17260de71%40%3Ccommits.pulsar.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r27b1eedda37468256c4bb768fde1e8b79b37ec975cbbfd0d65a7ac34%40%3Cdev.myfaces.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/ra8ef65aedc086d2d3d21492b4c08ae0eb8a3a42cc52e29ba1bc009d8%40%3Cdev.creadur.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r523a6ffad58f71c4f3761e3cee72df878e48cdc89ebdce933be1475c%40%3Cdev.creadur.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rbebd3e19651baa7a4a5503a9901c95989df9d40602c8e35cb05d3eb5%40%3Cdev.creadur.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r2bc986a070457daca457a54fe71ee09d2584c24dc262336ca32b6a19%40%3Cdev.creadur.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r2721aba31a8562639c4b937150897e24f78f747cdbda8641c0f659fe%40%3Cusers.kafka.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r345330b7858304938b7b8029d02537a116d75265a598c98fa333504a%40%3Cdev.creadur.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rad4ae544747df32ccd58fff5a86cd556640396aeb161aa71dd3d192a%40%3Cuser.commons.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r808be7d93b17a7055c1981a8453ae5f0d0fce5855407793c5d0ffffa%40%3Cuser.commons.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rc65f9bc679feffe4589ea0981ee98bc0af9139470f077a91580eeee0%40%3Cpluto-dev.portals.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rc2dd3204260e9227a67253ef68b6f1599446005bfa0e1ddce4573a80%40%3Cpluto-dev.portals.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r2df50af2641d38f432ef025cd2ba5858215cc0cf3fc10396a674ad2e%40%3Cpluto-scm.portals.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r8bfc7235e6b39d90e6f446325a5a44c3e9e50da18860fdabcee23e29%40%3Cissues.zookeeper.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r92ea904f4bae190b03bd42a4355ce3c2fbe8f36ab673e03f6ca3f9fa%40%3Cnotifications.zookeeper.apache.org
mailing-list
-
lists.apache.org
/thread.html/rfcd2c649c205f12b72dde044f905903460669a220a2eb7e12652d19d%40%3Cdev.zookeeper.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/r2345b49dbffa8a5c3c589c082fe39228a2c1d14f11b96c523da701db%40%3Cnotifications.zookeeper.apache.org
mailing-list
-
lists.apache.org
/thread.html/r477c285126ada5c3b47946bb702cb222ac4e7fd3100c8549bdd6d3b2%40%3Cissues.zookeeper.apache.org%3E
mailing-list
-
lists.apache.org
/thread.html/rc10fa20ef4d13cbf6ebe0b06b5edb95466a1424a9b7673074ed03260%40%3Cnotifications.zookeeper.apache.org
mailing-list
-
lists.debian.org
/debian-lts-announce/2021/08/msg00016.html
mailing-list, web
-
lists.apache.org
/thread.html/rca71a10ca533eb9bfac2d590533f02e6fb9064d3b6aa3ec90fdc4f51%40%3Cnotifications.zookeeper.apache.org
mailing-list
-
lists.apache.org
/thread.html/re41e9967bee064e7369411c28f0f5b2ad28b8334907c9c6208017279%40%3Cnotifications.zookeeper.apache.org
mailing-list
-
lists.apache.org
/thread.html/rd09d4ab3e32e4b3a480e2ff6ff118712981ca82e817f28f2a85652a6%40%3Cnotifications.zookeeper.apache.org
mailing-list
-
lists.apache.org
/thread.html/r01b4a1fcdf3311c936ce33d75a9398b6c255f00c1a2f312ac21effe1%40%3Cnotifications.zookeeper.apache.org
mailing-list
-
lists.apache.org
/thread.html/red3aea910403d8620c73e1c7b9c9b145798d0469eb3298a7be7891af%40%3Cnotifications.zookeeper.apache.org
mailing-list
-
lists.apache.org
/thread.html/r20416f39ca7f7344e7d76fe4d7063bb1d91ad106926626e7e83fb346%40%3Cnotifications.zookeeper.apache.org
mailing-list
-
lists.apache.org
/thread.html/r86528f4b7d222aed7891e7ac03d69a0db2a2dfa17b86ac3470d7f374%40%3Cnotifications.zookeeper.apache.org
mailing-list
-
lists.apache.org
/thread.html/rc5f3df5316c5237b78a3dff5ab95b311ad08e61d418cd992ca7e34ae%40%3Cnotifications.zookeeper.apache.org
mailing-list
-
lists.apache.org
/thread.html/r0bfa8f7921abdfae788b1f076a12f73a92c93cc0a6e1083bce0027c5%40%3Cnotifications.zookeeper.apache.org
mailing-list
-
lists.apache.org
/thread.html/r462db908acc1e37c455e11b1a25992b81efd18e641e7e0ceb1b6e046%40%3Cnotifications.zookeeper.apache.org
mailing-list
-
nvd.nist.gov
/vuln/detail/CVE-2021-29425
advisory
-
lists.apache.org
/thread.html/r8efcbabde973ea72f5e0933adc48ef1425db5cde850bf641b3993f31@%3Cdev.commons.apache.org%3E
web
-
lists.apache.org
/thread.html/r92ea904f4bae190b03bd42a4355ce3c2fbe8f36ab673e03f6ca3f9fa@%3Cnotifications.zookeeper.apache.org%3
web
-
lists.apache.org
/thread.html/ra8ef65aedc086d2d3d21492b4c08ae0eb8a3a42cc52e29ba1bc009d8@%3Cdev.creadur.apache.org%3E
web
-
lists.apache.org
/thread.html/raa053846cae9d497606027816ae87b4e002b2e0eb66cb0dee710e1f5@%3Cdev.creadur.apache.org%3E
web
-
lists.apache.org
/thread.html/rad4ae544747df32ccd58fff5a86cd556640396aeb161aa71dd3d192a@%3Cuser.commons.apache.org%3E
web
-
lists.apache.org
/thread.html/rbebd3e19651baa7a4a5503a9901c95989df9d40602c8e35cb05d3eb5@%3Cdev.creadur.apache.org%3E
web
-
lists.apache.org
/thread.html/rc10fa20ef4d13cbf6ebe0b06b5edb95466a1424a9b7673074ed03260@%3Cnotifications.zookeeper.apache.org%3
web
-
lists.apache.org
/thread.html/rc2dd3204260e9227a67253ef68b6f1599446005bfa0e1ddce4573a80@%3Cpluto-dev.portals.apache.org%3E
web
-
lists.apache.org
/thread.html/rc5f3df5316c5237b78a3dff5ab95b311ad08e61d418cd992ca7e34ae@%3Cnotifications.zookeeper.apache.org%3
web
-
lists.apache.org
/thread.html/rc65f9bc679feffe4589ea0981ee98bc0af9139470f077a91580eeee0@%3Cpluto-dev.portals.apache.org%3E
web
-
lists.apache.org
/thread.html/rca71a10ca533eb9bfac2d590533f02e6fb9064d3b6aa3ec90fdc4f51@%3Cnotifications.zookeeper.apache.org%3
web
-
lists.apache.org
/thread.html/rd09d4ab3e32e4b3a480e2ff6ff118712981ca82e817f28f2a85652a6@%3Cnotifications.zookeeper.apache.org%3
web
-
lists.apache.org
/thread.html/re41e9967bee064e7369411c28f0f5b2ad28b8334907c9c6208017279@%3Cnotifications.zookeeper.apache.org%3
web
-
lists.apache.org
/thread.html/red3aea910403d8620c73e1c7b9c9b145798d0469eb3298a7be7891af@%3Cnotifications.zookeeper.apache.org%3
web
-
lists.apache.org
/thread.html/rfa2f08b7c0caf80ca9f4a18bd875918fdd4e894e2ea47942a4589b9c@%3Cdev.creadur.apache.org%3E
web
-
lists.apache.org
/thread.html/rfcd2c649c205f12b72dde044f905903460669a220a2eb7e12652d19d@%3Cdev.zookeeper.apache.org%3E
web
Sources
- CVE List CVE-2021-29425
- GitHub Advisory GHSA-gwrp-pvrq-jmwv
- NVD CVE-2021-29425
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.