7.5
CVSSv3

CVE-2025-27553

CVSSv4: NA | CVSSv3: 7.5 | CVSSv2: NA | VMScore: 850 | EPSS: 0.00192 | KEV: Not Included
Published: 23/03/2025 Updated: 24/03/2025

Vulnerability Summary

Relative Path Traversal in Apache Commons VFS Before 2.10.0

Relative Path Traversal vulnerability in Apache Commons VFS prior to 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: prior to 2.10.0. Users are recommended to upgrade to version 2.10.0, which fixes the issue.

Vulnerable Product Search on Vulmon Subscribe to Product

apache software foundation apache commons vfs

Vendor Advisories

Debian Bug report logs - #1101204 commons-vfs: CVE-2025-27553 CVE-2025-30474 Package: src:commons-vfs; Maintainer for src:commons-vfs is Debian Java Maintainers <pkg-java-maintainers@listsaliothdebianorg>; Reported by: Salvatore Bonaccorso <carnil@debianorg> Date: Mon, 24 Mar 2025 21:15:01 UTC Severity: important ...
Debian Bug report logs - #1101946 commons-vfs: CVE-2025-30474 Package: src:commons-vfs; Maintainer for src:commons-vfs is Debian Java Maintainers <pkg-java-maintainers@listsaliothdebianorg>; Reported by: Salvatore Bonaccorso <carnil@debianorg> Date: Mon, 24 Mar 2025 21:15:01 UTC Severity: important Tags: security ...
Relative Path Traversal vulnerability in Apache Commons VFS before 2100 The FileObject API in Commons VFS has a 'resolveFile' method thattakes a 'scope' parameter Specifying 'NameScopeDESCENDENT' promises that "an exception is thrown if the resolved file is not a descendent ofthe base file" However, when the path contains encoded ""characte ...

Mailing Lists

Severity: low Affected versions: - Apache Commons VFS before 2100 Description: Relative Path Traversal vulnerability in Apache Commons VFS before 2100 The FileObject API in Commons VFS has a 'resolveFile' method that takes a 'scope' parameter Specifying 'NameScopeDESCENDENT' promises that "an exception is thrown if the resolved file is ...