Relative Path Traversal Vulnerability in Apache Commons VFS by Apache
CVE-2025-27553

7.5HIGH

Key Information:

Vendor
Apache
Vendor
CVE Published:
23 March 2025

Summary

A relative path traversal vulnerability exists in Apache Commons VFS prior to version 2.10.0. The 'resolveFile' method in the FileObject API is designed to ensure file paths remain within the base file's directory using the 'NameScope.DESCENDENT' parameter. However, due to inadequate handling of encoded '..' characters in file paths, it may allow access to files outside the intended directory without raising an exception. This poses potential security risks, making it crucial for users to upgrade to version 2.10.0 or later to mitigate this issue.

Affected Version(s)

Apache Commons VFS 0 < 2.10.0

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Arnout Engelen
.