CVE-2025-27553

Severity CVSS v4.0:
Pending analysis
Type:
CWE-23 Relative Path Traversal
Publication date:
23/03/2025
Last modified:
02/04/2025

Description

Relative Path Traversal vulnerability in Apache Commons VFS before 2.10.0.<br /> <br /> The FileObject API in Commons VFS has a &amp;#39;resolveFile&amp;#39; method that<br /> takes a &amp;#39;scope&amp;#39; parameter. Specifying &amp;#39;NameScope.DESCENDENT&amp;#39; promises that "an exception is thrown if the resolved file is not a descendent of<br /> the base file". However, when the path contains encoded ".."<br /> characters (for example, "%2E%2E/bar.txt"), it might return file objects that are not<br /> a descendent of the base file, without throwing an exception.<br /> This issue affects Apache Commons VFS: before 2.10.0.<br /> <br /> Users are recommended to upgrade to version 2.10.0, which fixes the issue.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:apache:commons_vfs:*:*:*:*:*:*:*:* 2.10.0 (excluding)