# CVE-2021-29425: libcommons-io-java: In Apache Commons IO before 2.7, When invoking the method FileNameUtils.normalize with an improper input string, like...

CVE-2021-29425 is fixed in libcommons-io-java on 1 platform, first by libcommons-io-java 2.6-2ubuntu0.18.04.1, released April 13, 2021. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-29425
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.1055
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 13, 2021

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

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | libcommons-io-java Ubuntu 18.04.6 LTS (bionic) | 2.6-2ubuntu0.18.04.1 | [libcommons-io-java 2.6-2ubuntu0.18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libcommons-io-java-2.6-2ubuntu0.18.04.1.md) | Apr 13, 2021 |
| Linux | libcommons-io-java Ubuntu 20.04 LTS (focal) | 2.6-2ubuntu0.20.04.1 | [libcommons-io-java 2.6-2ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libcommons-io-java-2.6-2ubuntu0.20.04.1.md) | Apr 13, 2021 |

---

Data as of 2026-11-08T19:12:23Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
