CVE-2025-27553
Apache Commons VFS Has Relative Path Traversal Vulnerability
Description
Relative Path Traversal vulnerability in Apache Commons VFS before 2.10.0.
The FileObject API in Commons VFS has a 'resolveFile' method that takes a 'scope' parameter. Specifying 'NameScope.DESCENDENT' promises that "an exception is thrown if the resolved file is not a descendent of the base file". However, when the path contains encoded ".." characters (for example, "%2E%2E/bar.txt"), it might return file objects that are not a descendent of the base file, without throwing an exception. This issue affects Apache Commons VFS: before 2.10.0.
Users are recommended to upgrade to version 2.10.0, which fixes the issue.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.commons » commons-vfs2 | < 2.10.0 | 2.10.0 |
Blast radius
94% of the dependent artifacts (17,261) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 30,047 |
| 2 hops | 91,819 |
| 3 hops | 449,086 |
| 4 hops | 38,038 |
| 5 hops | 25,299 |
| 6 hops | 27,252 |
Most used dependents
- org.renjin » renjin-maven-plugin13,886 usages
- org.renjin » grDevices13,856 usages
- org.renjin » utils13,856 usages
- org.renjin » stats13,856 usages
- org.renjin » graphics13,854 usages
- org.renjin » methods13,854 usages
- org.renjin » datasets13,850 usages
- org.renjin » tools13,792 usages
- org.renjin » stats413,781 usages
- org.renjin » parallel13,780 usages
- org.renjin » splines13,779 usages
- org.renjin » grid13,779 usages
- org.renjin » tcltk13,773 usages
- org.renjin » compiler13,765 usages
- org.renjin.cran » testthat3,000 usages
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
| Advisory | NVD CVE-2025-27553 | nvd.nist.gov |
| Package | apache/commons-vfs | github.com |
| Web | thread/cnzqowyw9r2pl263cylmxhnvh41hyjcb | lists.apache.org |
| Web | debian-lts-announce/2025/04/msg00006.html | lists.debian.org |
| Web | lists/oss-security/2025/03/23/1 | openwall.com |
