4.8Medium

Apache Commons Io

CVE-2021-29425

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.

What this means for your business

  • It affects Apache Commons Io. It matters if your company, or a supplier that handles your data, runs it.
  • Code showing how to exploit it has been published, but real attacks have not been confirmed.
  • An attacker can use it remotely, over a network, without a login, and without anyone at your company clicking anything.

What to do

  1. 1Check whether your company or your suppliers run Apache Commons Io, and which version. The affected versions are listed further down this page.
  2. 2If you do, apply the vendor's fix. A patch or vendor advisory has been published.

Not sure if your company is exposed?

Fastnexa’s certified penetration testers can check whether attackers could use this flaw, or others like it, against your websites, apps and network. The full test is free for our first 10 founding clients until 31 December 2026.

Scoring

CVSS
4.8 (v3.1)
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Weakness
CWE-20
Assigned by
security@apache.org

Dates

Published
2021-04-13
Last modified
2026-08-25
Sources
NVD

Affected products

  • Apache Commons Io2.2, 2.3, 2.4, 2.5, 2.6
  • Debian Debian Linux9.0
  • Oracle Access Manager11.1.2.3.0, 12.2.1.3.0, 12.2.1.4.0
  • Oracle Agile Engineering Data Management6.2.1.0
  • Oracle Agile Product Lifecycle Management9.3.6
  • Oracle Application Performance Management13.4.1.0, 13.5.1.0
  • Oracle Application Testing Suite13.3.0.1
  • Oracle Banking Apis18.1, 18.2, 18.3, 19.1, 19.2, 20.1, 21.1
  • Oracle Banking Digital Experience17.2, 18.1, 18.3, 19.1, 19.2, 20.1, 21.1
  • Oracle Banking Enterprise Default Management2.6.2, 2.7.0, 2.7.1, 2.10.0, 2.12.0
  • Oracle Banking Enterprise Default Managment2.3.0 - 2.4.0
  • Oracle Banking Party Management2.7.0

As listed in the NVD configuration data. Not a statement about your estate.

References