CVE-2025-27553 Details
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.
A relative path traversal vulnerability exists in Apache Commons VFS versions prior to 2.10.0. The issue arises in the FileObject API's 'resolveFile' method, which includes a 'scope' parameter. When 'NameScope.DESCENDENT' is specified, the method is expected to throw an exception if the resolved file is not a descendant of the base file. However, the vulnerability allows paths with encoded '..' characters to bypass this check, potentially returning file objects that are not descendants without raising an exception. This flaw could be exploited to access files and directories outside of a designated root folder.
Users are advised to upgrade to Apache Commons VFS version 2.10.0 or later, which addresses this vulnerability. For Debian 11 bullseye, the issue has been fixed in version 2.1-2+deb11u1.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://lists.debian.org/debian-lts-announce/2025/04/msg00006.html | CVE | |
| http://www.openwall.com/lists/oss-security/2025/03/23/1 | CVE | Mailing ListThird Party Advisory |
| https://lists.apache.org/thread/cnzqowyw9r2pl263cylmxhnvh41hyjcb | [email protected] | Mailing ListVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-23 | Relative Path Traversal | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| apache commons vfs | < 2.10.0 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Apr 2, 2025 | CVE Modified | CVE |
| Mar 26, 2025 | Initial Analysis | [email protected] |
| Mar 24, 2025 | CVE Modified | CISA-ADP |
| Mar 23, 2025 | CVE Modified | CVE |
| Mar 23, 2025 | New CVE Received | [email protected] |