# CVE-2021-29425: Possible limited path traversal vulnerabily in Apache Commons IO

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 10.5%, higher than 95% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-13T06:50:12.000Z
- Modified: 2026-10-07T19:17:25.603Z
- Also known as: GHSA-gwrp-pvrq-jmwv
- Weaknesses: CWE-20, CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Commons IO: Apache Commons IO 2.2; Apache Commons IO 2.3; Apache Commons IO 2.4; Apache Commons IO 2.5; Apache Commons IO 2.6
- commons-io:commons-io (Maven): before 2.7
- com.cosium.vet:vet (Maven): from 1.0 up to 3.22
- com.diamondq.common:common-thirdparty.jcasbin (Maven): 1.4.0
- com.liferay:com.liferay.sass.compiler.jsass (Maven): 1.0.1
- com.virjar:ratel-api (Maven): from 1.0.0 up to 1.3.6
- net.hasor:cobble-lang (Maven): from 4.4.1 up to 4.6.2
- org.apache.commons:commons-io (Maven): 1.3.2
- org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-io (Maven): from 1.4 up to 1.5
- org.checkerframework.annotatedlib:commons-io (Maven): from 2.6 before 2.7
- org.smartboot.servlet:servlet-core (Maven): from 0.1.9 up to 0.6
- apache commons_io: 2.2; 2.3; 2.4; 2.5; 2.6
- debian debian_linux: 9.0
- oracle access_manager: 11.1.2.3.0; 12.2.1.3.0; 12.2.1.4.0
- oracle agile_engineering_data_management: 6.2.1.0
- oracle agile_product_lifecycle_management: 9.3.6
- oracle application_performance_management: 13.4.1.0; 13.5.1.0
- oracle application_testing_suite: 13.3.0.1
- oracle banking_apis: 18.1; 18.2; 18.3; 19.1; 19.2; 20.1; 21.1
- oracle banking_digital_experience: 17.2; 18.1; 18.3; 19.1; 19.2; 20.1; 21.1
- oracle banking_enterprise_default_management: 2.6.2; 2.7.0; 2.7.1; 2.10.0; 2.12.0
- oracle banking_enterprise_default_managment: from 2.3.0 up to 2.4.0
- oracle banking_party_management: 2.7.0
- oracle banking_platform: from 2.3.0 up to 2.4.1; 2.6.2; 2.7.0; 2.7.1
- oracle blockchain_platform: before 21.1.2
- oracle commerce_guided_search: 11.3.2
- oracle communications_application_session_controller: 3.9.0
- oracle communications_billing_and_revenue_management_elastic_charging_engine: 11.3; 12.0
- oracle communications_cloud_native_core_network_repository_function: 1.14.0
- oracle communications_cloud_native_core_policy: 1.14.0
- oracle communications_cloud_native_core_unified_data_repository: 1.4.0
- oracle communications_contacts_server: 8.0.0.6.0
- oracle communications_converged_application_server_-_service_controller: 6.2
- oracle communications_convergence: 3.0.2.2.0
- oracle communications_design_studio: from 7.4.0 up to 7.4.2; 7.3.5
- oracle communications_diameter_intelligence_hub: from 8.0.0 up to 8.1.0; from 8.2.0 up to 8.2.3
- oracle communications_interactive_session_recorder: 6.3; 6.4
- oracle communications_offline_mediation_controller: 12.0.0.3
- oracle communications_order_and_service_management: 7.3; 7.4
- oracle communications_policy_management: 12.5.0.0.0
- oracle communications_pricing_design_center: 12.0.0.4.0; 12.0.0.5.0
- oracle communications_service_broker: 6.2
- oracle enterprise_communications_broker: 3.3
- oracle enterprise_session_border_controller: 8.4; 9.0
- oracle financial_services_analytical_applications_infrastructure: from 8.0.7 up to 8.1.1
- oracle financial_services_model_management_and_governance: from 8.0.8 up to 8.1.1
- oracle flexcube_core_banking: from 11.6.0 up to 11.8.0; 5.2.0; 11.10.0
- oracle fusion_middleware_mapviewer: 12.2.1.4.0
- oracle health_sciences_data_management_workbench: 2.5.2.1; 3.0.0.0
- oracle health_sciences_information_manager: from 3.0.1 up to 3.0.4
- oracle healthcare_data_repository: 8.1.0
- oracle helidon: 1.4.7; 2.2.0
- oracle insurance_policy_administration: 11.0.2; 11.1.0; 11.2.8; 11.3.0; 11.3.1
- oracle insurance_rules_palette: 11.0.2; 11.1.0; 11.2.8; 11.3.0; 11.3.1
- oracle oss_support_tools: before 2.12.42
- oracle primavera_unifier: from 17.7 up to 17.12; 18.8; 19.12; 20.12; 21.12
- oracle real_user_experience_insight: 13.4.1.0; 13.5.1.0
- oracle rest_data_services: before 21.2; 21.3
- oracle retail_assortment_planning: 16.0.3
- oracle retail_integration_bus: from 16.0.1 up to 16.0.3; 13.0; 14.1.3.0; 14.1.3.2; 15.0.3.1; 19.0.0; 19.0.1
- and 11 more: see the JSON

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:2.0 5.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:N`

## References

- <https://issues.apache.org/jira/browse/IO-556> (exploit, issue-tracking, vendor-advisory, web)
- <https://lists.apache.org/thread.html/rc359823b5500e9a9a2572678ddb8e01d3505a7ffcadfa8d13b8780ab%40%3Cuser.commons.apache.org%3E> (mailing-list, vendor-advisory, web)
- <https://lists.apache.org/thread.html/rfd01af05babc95b8949e6d8ea78d9834699e1b06981040dde419a330%40%3Cdev.commons.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r8efcbabde973ea72f5e0933adc48ef1425db5cde850bf641b3993f31%40%3Cdev.commons.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r873d5ddafc0a68fd999725e559776dc4971d1ab39c0f5cc81bd9bc04%40%3Ccommits.pulsar.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r0d73e2071d1f1afe1a15da14c5b6feb2cf17e3871168d5a3c8451436%40%3Ccommits.pulsar.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r47ab6f68cbba8e730f42c4ea752f3a44eb95fb09064070f2476bb401%40%3Cdev.creadur.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/raa053846cae9d497606027816ae87b4e002b2e0eb66cb0dee710e1f5%40%3Cdev.creadur.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r8569a41d565ca880a4dee0e645dad1cd17ab4a92e68055ad9ebb7375%40%3Cdev.creadur.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/rfa2f08b7c0caf80ca9f4a18bd875918fdd4e894e2ea47942a4589b9c%40%3Cdev.creadur.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r1c2f4683c35696cf6f863e3c107e37ec41305b1930dd40c17260de71%40%3Ccommits.pulsar.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r27b1eedda37468256c4bb768fde1e8b79b37ec975cbbfd0d65a7ac34%40%3Cdev.myfaces.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/ra8ef65aedc086d2d3d21492b4c08ae0eb8a3a42cc52e29ba1bc009d8%40%3Cdev.creadur.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r523a6ffad58f71c4f3761e3cee72df878e48cdc89ebdce933be1475c%40%3Cdev.creadur.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/rbebd3e19651baa7a4a5503a9901c95989df9d40602c8e35cb05d3eb5%40%3Cdev.creadur.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r2bc986a070457daca457a54fe71ee09d2584c24dc262336ca32b6a19%40%3Cdev.creadur.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r2721aba31a8562639c4b937150897e24f78f747cdbda8641c0f659fe%40%3Cusers.kafka.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r345330b7858304938b7b8029d02537a116d75265a598c98fa333504a%40%3Cdev.creadur.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/rad4ae544747df32ccd58fff5a86cd556640396aeb161aa71dd3d192a%40%3Cuser.commons.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r808be7d93b17a7055c1981a8453ae5f0d0fce5855407793c5d0ffffa%40%3Cuser.commons.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/rc65f9bc679feffe4589ea0981ee98bc0af9139470f077a91580eeee0%40%3Cpluto-dev.portals.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/rc2dd3204260e9227a67253ef68b6f1599446005bfa0e1ddce4573a80%40%3Cpluto-dev.portals.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r2df50af2641d38f432ef025cd2ba5858215cc0cf3fc10396a674ad2e%40%3Cpluto-scm.portals.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r8bfc7235e6b39d90e6f446325a5a44c3e9e50da18860fdabcee23e29%40%3Cissues.zookeeper.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r92ea904f4bae190b03bd42a4355ce3c2fbe8f36ab673e03f6ca3f9fa%40%3Cnotifications.zookeeper.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/rfcd2c649c205f12b72dde044f905903460669a220a2eb7e12652d19d%40%3Cdev.zookeeper.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r2345b49dbffa8a5c3c589c082fe39228a2c1d14f11b96c523da701db%40%3Cnotifications.zookeeper.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r477c285126ada5c3b47946bb702cb222ac4e7fd3100c8549bdd6d3b2%40%3Cissues.zookeeper.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/rc10fa20ef4d13cbf6ebe0b06b5edb95466a1424a9b7673074ed03260%40%3Cnotifications.zookeeper.apache.org%3E> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2021/08/msg00016.html> (mailing-list, third-party-advisory, web)
- <https://lists.apache.org/thread.html/rca71a10ca533eb9bfac2d590533f02e6fb9064d3b6aa3ec90fdc4f51%40%3Cnotifications.zookeeper.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/re41e9967bee064e7369411c28f0f5b2ad28b8334907c9c6208017279%40%3Cnotifications.zookeeper.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/rd09d4ab3e32e4b3a480e2ff6ff118712981ca82e817f28f2a85652a6%40%3Cnotifications.zookeeper.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r01b4a1fcdf3311c936ce33d75a9398b6c255f00c1a2f312ac21effe1%40%3Cnotifications.zookeeper.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/red3aea910403d8620c73e1c7b9c9b145798d0469eb3298a7be7891af%40%3Cnotifications.zookeeper.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r20416f39ca7f7344e7d76fe4d7063bb1d91ad106926626e7e83fb346%40%3Cnotifications.zookeeper.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r86528f4b7d222aed7891e7ac03d69a0db2a2dfa17b86ac3470d7f374%40%3Cnotifications.zookeeper.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/rc5f3df5316c5237b78a3dff5ab95b311ad08e61d418cd992ca7e34ae%40%3Cnotifications.zookeeper.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r0bfa8f7921abdfae788b1f076a12f73a92c93cc0a6e1083bce0027c5%40%3Cnotifications.zookeeper.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r462db908acc1e37c455e11b1a25992b81efd18e641e7e0ceb1b6e046%40%3Cnotifications.zookeeper.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r4050f9f6b42ebfa47a98cbdee4aabed4bb5fb8093db7dbb88faceba2%40%3Ccommits.zookeeper.apache.org%3E> (mailing-list)
- <https://lists.apache.org/thread.html/r5149f78be265be69d34eacb4e4b0fc7c9c697bcdfa91a1c1658d717b%40%3Cissues.zookeeper.apache.org%3E> (mailing-list)
- <https://www.oracle.com/security-alerts/cpuoct2021.html> (third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (patch, third-party-advisory, web)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (patch, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20220210-0004/> (third-party-advisory)
- <https://www.oracle.com/security-alerts/cpujul2022.html> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-29425> (advisory)
- <https://lists.apache.org/thread.html/r8efcbabde973ea72f5e0933adc48ef1425db5cde850bf641b3993f31@%3Cdev.commons.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/r92ea904f4bae190b03bd42a4355ce3c2fbe8f36ab673e03f6ca3f9fa@%3Cnotifications.zookeeper.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/ra8ef65aedc086d2d3d21492b4c08ae0eb8a3a42cc52e29ba1bc009d8@%3Cdev.creadur.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/raa053846cae9d497606027816ae87b4e002b2e0eb66cb0dee710e1f5@%3Cdev.creadur.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rad4ae544747df32ccd58fff5a86cd556640396aeb161aa71dd3d192a@%3Cuser.commons.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rbebd3e19651baa7a4a5503a9901c95989df9d40602c8e35cb05d3eb5@%3Cdev.creadur.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rc10fa20ef4d13cbf6ebe0b06b5edb95466a1424a9b7673074ed03260@%3Cnotifications.zookeeper.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rc2dd3204260e9227a67253ef68b6f1599446005bfa0e1ddce4573a80@%3Cpluto-dev.portals.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rc5f3df5316c5237b78a3dff5ab95b311ad08e61d418cd992ca7e34ae@%3Cnotifications.zookeeper.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rc65f9bc679feffe4589ea0981ee98bc0af9139470f077a91580eeee0@%3Cpluto-dev.portals.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rca71a10ca533eb9bfac2d590533f02e6fb9064d3b6aa3ec90fdc4f51@%3Cnotifications.zookeeper.apache.org%3E> (web)
- <https://lists.apache.org/thread.html/rd09d4ab3e32e4b3a480e2ff6ff118712981ca82e817f28f2a85652a6@%3Cnotifications.zookeeper.apache.org%3E> (web)
- and 30 more: see the JSON

## Sources

- CVE List: [CVE-2021-29425](https://www.cve.org/CVERecord?id=CVE-2021-29425), CVE Terms of Use, modified 2026-10-07
- GitHub Advisory Database: [GHSA-gwrp-pvrq-jmwv](https://github.com/advisories/GHSA-gwrp-pvrq-jmwv), CC-BY-4.0, modified 2024-02-14
- NVD: [CVE-2021-29425](https://nvd.nist.gov/vuln/detail/CVE-2021-29425), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2021-29425 · Whole record: https://cve.day/CVE-2021-29425.json · Rebuilt by cve.day 2026-11-25T22:58:00.730Z
