Vulnerabilities · 2021 · Apache
CVE-2021-29425
Apache Commons Io vulnerability
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 products
Commons Io, Debian Linux, Access Manager, Agile Engineering Data Management, Agile Plm, Application Performance Management, Application Testing Suite, Banking Apis, Banking Digital Experience, Banking Enterprise Default Management and more. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Commons Io runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- issues.apache.org/jira/browse/IO-556 · Exploit
- lists.apache.org/thread.html/rc359823b5500e9a9a2572678ddb8e01d3505a7ffcadfa8d13b8780ab%40% · Vendor Advisory
- www.oracle.com/security-alerts/cpuapr2022.html · Patch
- www.oracle.com/security-alerts/cpujan2022.html · Patch
- www.oracle.com/security-alerts/cpujul2022.html · Patch
- lists.debian.org/debian-lts-announce/2021/08/msg00016.html · Third Party Advisory
- security.netapp.com/advisory/ntap-20220210-0004/ · Third Party Advisory
- www.oracle.com/security-alerts/cpuoct2021.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-29425
- cve.org/CVERecord?id=CVE-2021-29425
More vulnerabilities in Apache products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.