MODERATE 4.8

CVE-2021-29425

Path Traversal and Improper Input Validation in Apache Commons IO

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.

Blast radius

7affected artifacts
111affected versions
124,261dependent artifacts (est.)
6,077,508dependent versions

67% of the dependent artifacts (84,004) still pull an affected version in their latest release.

DepthDependent versions
Direct
810,566
2 hops
2,296,304
3 hops
1,824,447
4 hops
821,283
5 hops
265,612
6 hops
59,296

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References