Skip to main content
MEDIUM

CVE-2021-29425

CVSS v3

4.8

MEDIUM

EPSS Score

10.5 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for apache-commons-io.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • com.cosium.vet:vetMavenfrom 1.0 · no fixed version listed
  • com.virjar:ratel-apiMavenfrom 1.0.0 · no fixed version listed
  • commons-io:commons-ioMavenall versions · fixed in 2.7
  • net.hasor:cobble-langMavenfrom 4.4.1 · no fixed version listed
  • org.apache.commons:commons-ioMavenall versions · no fixed version listedand 2 other packages
  • org.apache.servicemix.bundles:org.apache.servicemix.bundles.commons-ioMavenfrom 1.4 · no fixed version listed
  • org.checkerframework.annotatedlib:commons-ioMavenfrom 2.6 · fixed in 2.7
  • org.smartboot.servlet:servlet-coreMavenfrom 0.1.9 · no fixed version listed

Vendor advisories

  • CVE-2021-29425 Red Hat Product Security250 products fixed · 16 known affected

    apache-commons-io: Limited path traversal in Apache Commons IO 2.2 to 2.6

    commons-io as a component of A-MQ Clients 2 · commons-io as a component of Red Hat BPM Suite 6 · commons-io as a component of Red Hat Data Grid 8

  • RHSA-2022:1110 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Decision Manager 7.12.1 security update

  • RHSA-2022:1108 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Process Automation Manager 7.12.1 security update

  • RHSA-2021:5134 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Fuse 7.10.0 release and security update

  • RHSA-2021:3700 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat AMQ Broker 7.9.0 release and security update

  • RHSA-2021:3660 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.1 security update

10 more advisories

Full record on NVD

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.

Technical details

Published
2021-04-13

Frequently asked questions

What is 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.

Is CVE-2021-29425 actively exploited?

Active exploitation of CVE-2021-29425 has not been confirmed. Its EPSS score was 10.5% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-29425?

CVE-2021-29425 has a CVSS v3 base score of 4.8 (MEDIUM severity).

Running apache-commons-io? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month