6.5medium
Possible limited path traversal vulnerabily in Apache Commons IO
- Severity
- 6.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 10.5% (higher than 95% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-gwrp-pvrq-jmwv
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 | CVE List |
| commons-io:commons-io (Maven) | before 2.7 | GitHub Advisory Database |
| com.cosium.vet:vet (Maven) | from 1.0 up to 3.22 | GitHub Advisory Database |
| com.diamondq.common:common-thirdparty.jcasbin (Maven) | 1.4.0 | GitHub Advisory Database |
| com.liferay:com.liferay.sass.compiler.jsass (Maven) | 1.0.1 | GitHub Advisory Database |
| com.virjar:ratel-api (Maven) | from 1.0.0 up to 1.3.6 | GitHub Advisory Database |
| net.hasor:cobble-lang (Maven) | from 4.4.1 up to 4.6.2 | GitHub Advisory Database |
| org.apache.commons:commons-io (Maven) | 1.3.2 | GitHub Advisory Database |
| org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-io (Maven) | from 1.4 up to 1.5 | GitHub Advisory Database |
| org.checkerframework.annotatedlib:commons-io (Maven) | from 2.6 before 2.7 | GitHub Advisory Database |
| org.smartboot.servlet:servlet-core (Maven) | from 0.1.9 up to 0.6 | GitHub Advisory Database |
| apache commons_io | 2.2, 2.3, 2.4, 2.5, 2.6 | NVD |
| debian debian_linux | 9.0 | NVD |
| oracle access_manager | 11.1.2.3.0, 12.2.1.3.0, 12.2.1.4.0 | NVD |
| oracle agile_engineering_data_management | 6.2.1.0 | NVD |
| oracle agile_product_lifecycle_management | 9.3.6 | NVD |
| oracle application_performance_management | 13.4.1.0, 13.5.1.0 | NVD |
| oracle application_testing_suite | 13.3.0.1 | NVD |
| oracle banking_apis | 18.1, 18.2, 18.3, 19.1, 19.2, 20.1, 21.1 | NVD |
| oracle banking_digital_experience | 17.2, 18.1, 18.3, 19.1, 19.2, 20.1, 21.1 | NVD |
| oracle banking_enterprise_default_management | 2.6.2, 2.7.0, 2.7.1, 2.10.0, 2.12.0 | NVD |
| oracle banking_enterprise_default_managment | from 2.3.0 up to 2.4.0 | NVD |
| oracle banking_party_management | 2.7.0 | NVD |
| oracle banking_platform | from 2.3.0 up to 2.4.1, 2.6.2, 2.7.0, 2.7.1 | NVD |
| oracle blockchain_platform | before 21.1.2 | NVD |
| oracle commerce_guided_search | 11.3.2 | NVD |
| oracle communications_application_session_controller | 3.9.0 | NVD |
| oracle communications_billing_and_revenue_management_elastic_charging_engine | 11.3, 12.0 | NVD |
| oracle communications_cloud_native_core_network_repository_function | 1.14.0 | NVD |
| oracle communications_cloud_native_core_policy | 1.14.0 | NVD |
| oracle communications_cloud_native_core_unified_data_repository | 1.4.0 | NVD |
| oracle communications_contacts_server | 8.0.0.6.0 | NVD |
| oracle communications_converged_application_server_-_service_controller | 6.2 | NVD |
| oracle communications_convergence | 3.0.2.2.0 | NVD |
| oracle communications_design_studio | from 7.4.0 up to 7.4.2, 7.3.5 | NVD |
| oracle communications_diameter_intelligence_hub | from 8.0.0 up to 8.1.0, from 8.2.0 up to 8.2.3 | NVD |
| oracle communications_interactive_session_recorder | 6.3, 6.4 | NVD |
| oracle communications_offline_mediation_controller | 12.0.0.3 | NVD |
| oracle communications_order_and_service_management | 7.3, 7.4 | NVD |
| oracle communications_policy_management | 12.5.0.0.0 | NVD |
| oracle communications_pricing_design_center | 12.0.0.4.0, 12.0.0.5.0 | NVD |
| oracle communications_service_broker | 6.2 | NVD |
| oracle enterprise_communications_broker | 3.3 | NVD |
| oracle enterprise_session_border_controller | 8.4, 9.0 | NVD |
| oracle financial_services_analytical_applications_infrastructure | from 8.0.7 up to 8.1.1 | NVD |
| oracle financial_services_model_management_and_governance | from 8.0.8 up to 8.1.1 | NVD |
| oracle flexcube_core_banking | from 11.6.0 up to 11.8.0, 5.2.0, 11.10.0 | NVD |
| oracle fusion_middleware_mapviewer | 12.2.1.4.0 | NVD |
| oracle health_sciences_data_management_workbench | 2.5.2.1, 3.0.0.0 | NVD |
| oracle health_sciences_information_manager | from 3.0.1 up to 3.0.4 | NVD |
| oracle healthcare_data_repository | 8.1.0 | NVD |
| oracle helidon | 1.4.7, 2.2.0 | NVD |
| oracle insurance_policy_administration | 11.0.2, 11.1.0, 11.2.8, 11.3.0, 11.3.1 | NVD |
| oracle insurance_rules_palette | 11.0.2, 11.1.0, 11.2.8, 11.3.0, 11.3.1 | NVD |
| oracle oss_support_tools | before 2.12.42 | NVD |
| oracle primavera_unifier | from 17.7 up to 17.12, 18.8, 19.12, 20.12, 21.12 | NVD |
| oracle real_user_experience_insight | 13.4.1.0, 13.5.1.0 | NVD |
| oracle rest_data_services | before 21.2, 21.3 | NVD |
| oracle retail_assortment_planning | 16.0.3 | NVD |
| 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 | NVD |
| oracle retail_merchandising_system | 16.0.3, 19.0.1 | NVD |
| oracle retail_order_broker | 16.0, 18.0, 19.1 | NVD |
| oracle retail_pricing | 19.0.1 | NVD |
| oracle retail_service_backbone | from 16.0.1 up to 16.0.3, 14.1.3.0, 14.1.3.2, 15.0.3.1, 19.0.0, 19.0.1 | NVD |
| oracle retail_size_profile_optimization | 16.0.3 | NVD |
| oracle retail_xstore_point_of_service | 17.0.4, 18.0.3, 19.0.2, 20.0.1 | NVD |
| oracle solaris_cluster | 4.0 | NVD |
| oracle utilities_testing_accelerator | 6.0.0.1.1, 6.0.0.2.2, 6.0.0.3.1 | NVD |
| oracle webcenter_portal | 12.2.1.3.0, 12.2.1.4.0 | NVD |
| oracle weblogic_server | 12.1.3.0.0, 12.2.1.3.0, 12.2.1.4.0, 14.1.1.0.0 | NVD |
| netapp active_iq_unified_manager | Not specified | NVD |
All scores
| CISA-ADP | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 5.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
En Apache Commons IO versiones anteriores a 2.7, Cuando se invoca el método FileNameUtils.normalize con una cadena de entrada inapropiada, como "//../foo" o "\\..\ foo", el resultado sería el mismo valor, por lo que posiblemente proporcionar acceso a archivos en el directorio principal, pero no más arriba (por lo tanto, salto de ruta "limited"), si el código de llamada usara el resultado para construir un valor de ruta
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-29425 changed 2026-10-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gwrp-pvrq-jmwv changed 2024-02-14 | CC-BY-4.0 |
| NVD | CVE-2021-29425 changed 2026-10-07 | Public domain |