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.
Metrics
Affected Vendors & Products
References
History
Wed, 02 Apr 2025 22:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
|
Wed, 26 Mar 2025 15:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Apache
Apache commons Vfs |
|
CPEs | cpe:2.3:a:apache:commons_vfs:*:*:*:*:*:*:*:* | |
Vendors & Products |
Apache
Apache commons Vfs |
Mon, 24 Mar 2025 15:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Mon, 24 Mar 2025 14:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
cvssV3_1
|
Sun, 23 Mar 2025 19:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
|
Sun, 23 Mar 2025 14:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | |
Title | Apache Commons VFS: Possible path traversal issue when using NameScope.DESCENDENT | |
Weaknesses | CWE-23 | |
References |
|

Status: PUBLISHED
Assigner: apache
Published:
Updated: 2025-04-02T22:03:21.278Z
Reserved: 2025-03-01T03:19:06.648Z
Link: CVE-2025-27553

Updated: 2025-04-02T22:03:21.278Z

Status : Modified
Published: 2025-03-23T15:15:13.377
Modified: 2025-04-02T22:15:19.203
Link: CVE-2025-27553

No data.