CVE-2021-29425

NameCVE-2021-29425
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2741-1, ELA-478-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
commons-io (PTS)jessie, jessie (lts)2.4-2+deb8u1fixed
stretch (security), stretch (lts), stretch2.5-1+deb9u1fixed
buster2.6-2+deb10u1fixed
bullseye2.8.0-1fixed
sid, trixie, bookworm2.11.0-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
commons-iosourcejessie2.4-2+deb8u1ELA-478-1
commons-iosourcestretch2.5-1+deb9u1DLA-2741-1
commons-iosourcebuster2.6-2+deb10u1
commons-iosource(unstable)2.8.0-1

Notes

https://www.openwall.com/lists/oss-security/2021/04/12/1
https://issues.apache.org/jira/browse/IO-556

Search for package or bug name: Reporting problems