Skip to content
VulniPulse
UnratedApache Software Foundation

CVE-2021-29425: Possible limited path traversal vulnerabily in Apache Commons IO

This Apache advisory covers CVE-2021-29425 in Apache Commons IO.

Open the Apache advisory

Key facts

CISA KEV
Not listed (catalogue checked )
Affected
Apache Commons IO Apache Commons IO 2.2; Apache Commons IO Apache Commons IO 2.3; Apache Commons IO Apache Commons IO 2.4 and 2 more below
Source published
Source revised
Listed by VulniPulse

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Affected products & platforms

Apache Software FoundationUnclassified

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.

Text from the source record.

Affected versions
  • Apache Commons IO Apache Commons IO 2.2
  • Apache Commons IO Apache Commons IO 2.3
  • Apache Commons IO Apache Commons IO 2.4
  • Apache Commons IO Apache Commons IO 2.5
  • Apache Commons IO Apache Commons IO 2.6

Official advisory · medium-confidence parse· fetched ·verify at source

Apache Software Foundation advisories, April 2021All Apache Software Foundation advisories

Get an email when Apache publishes the next one.

See Apache's last 90 days of advisories first. Then choose one product with live alerts free for life, or a free month of real-time alerts on everything with the severity, the fixed version and the vendor's link (card needed, then US$15/month; we email you before the first charge).

Alert me about Apache

iPhone and Android apps · New on the App Store

Monitor future Apache Software Foundation CVEs from your phone.

Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 34 official vendor sources and 160+ reviewed platform categories.