CVE-2021-29425
Possible limited path traversal vulnerabily in Apache Commons IO
Public exploit available. Not confirmed exploited in the wild yet. A vendor fix is available.
What to do
The vendor has published a fix. Version details are below where the sources state them.
What it is
From the CVE record
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.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
1 source with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
9.9% chance of exploitation activity in the next 30 days, which ranks it in the 95th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
- Attention now
Rising.
Lifecycle
The patch came 471 days before any public exploit.
- EPSS band changemoderate → lowepss band change
- Patch availableworkaround available, record updated
- OpenVAS check added
- EPSS band changelow → moderate
- Public exploit / PoCsource: github-poc
- Patch availableworkaround available, record updated
Affected products
- access managerSecurity Products / identity-access-mgmt
- agile engineering data managementEnterprise Software / erp
- agile product lifecycle managementEnterprise Software / erp
- application performance managementDatabases / data-warehouse-analytics
- application testing suiteEnterprise Software
- banking apisEnterprise Software / itsm-monitoring
- banking digital experienceEnterprise Software / erp
- banking enterprise default managementDatabases / relational
- commons-io:commons-ioOSS Libraries
- com.cosium.vet:vetOSS Libraries
- com.diamondq.common:common-thirdparty.jcasbinOSS Libraries
- com.liferay:com.liferay.sass.compiler.jsassOSS Libraries
- com.virjar:ratel-apiOSS Libraries
- net.hasor:cobble-langOSS Libraries
- org.apache.commons:commons-ioOSS Libraries
- org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-ioOSS Libraries
And 59 more affected products. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Scored 4.8 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity HighRequires specific conditions like a race condition or non-default configuration
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality LowSome restricted information is disclosed, but limited in scope
- Integrity LowData modification is possible but limited in scope or consequence
- Availability NoneNo availability impact
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- issues.apache.org/jira/browse/IO-556
- lists.apache.org/thread.html/rc359823b5500e9a9a2572678ddb8e01d3505a7ffcadfa8d13b8780ab%40%3Cuser.commons.apache.org%3E
- lists.apache.org/thread.html/rfd01af05babc95b8949e6d8ea78d9834699e1b06981040dde419a330%40%3Cdev.commons.apache.org%3E
And 101 more references. See all after sign-in
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Access Manager, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI