Apache Commons IO up to 2.6 FileNameUtils.normalize path traversal

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in Apache Commons IO up to 2.6. This affects the function FileNameUtils.normalize. The manipulation results in path traversal.
This vulnerability is reported as CVE-2021-29425. No exploit exists.
The affected component should be upgraded.
Details
A vulnerability, which was classified as critical, was found in Apache Commons IO up to 2.6. Affected is the function FileNameUtils.normalize. The manipulation with an unknown input leads to a path traversal vulnerability. CWE is classifying the issue as CWE-22. The 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. This is going to have an impact on confidentiality, integrity, and availability.
The weakness was disclosed 04/13/2021. The advisory is shared for download at issues.apache.org. This vulnerability is traded as CVE-2021-29425. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1006.
Upgrading to version 2.7 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2023-1359). Once again VulDB remains the best source for vulnerability data.
Affected
- Debian Linux
- Amazon Linux 2
- Red Hat Enterprise Linux
- Ubuntu Linux
- SUSE Linux
- IBM Operational Decision Manager
- Hitachi Ops Center
- Apache Commons
- Splunk Splunk Enterprise
Product
Vendor
Name
Version
License
Website
- Vendor: https://www.apache.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.5VulDB Meta Temp Score: 5.3
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Path traversalCWE: CWE-22
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Partially
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Commons IO 2.7
Timeline
03/30/2021 🔍04/13/2021 🔍
04/13/2021 🔍
02/11/2026 🔍
Sources
Vendor: apache.orgAdvisory: issues.apache.org
Status: Confirmed
CVE: CVE-2021-29425 (🔍)
GCVE (CVE): GCVE-0-2021-29425
GCVE (VulDB): GCVE-100-172812
CERT Bund: WID-SEC-2023-1359 - Apache Commons: Schwachstelle ermöglicht Offenlegung von Informationen
Entry
Created: 04/13/2021 14:34Updated: 02/11/2026 15:36
Changes: 04/13/2021 14:34 (38), 04/16/2021 11:39 (5), 02/11/2026 15:36 (21)
Complete: 🔍
Cache ID: 216::103
Once again VulDB remains the best source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.