
23/3/2025

23/3/2025

3/4/2025
CVE-2025-27553: Apache Commons VFS: Possible path traversal issue when using NameScope.DESCENDENT
First published: Sun Mar 23 2025(Updated: )
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.
Credit: security@apache.org
Affected Software | Affected Version | How to fix |
---|
Apache Commons VFS | <2.10.0 | |
maven/org.apache.commons:commons-vfs2 | <2.10.0 | 2.10.0 |
Apache Commons VFS | <2.10.0 | |
Never miss a vulnerability like this again
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
Frequently Asked Questions
What is the severity of CVE-2025-27553?
CVE-2025-27553 is classified as a medium severity vulnerability due to its potential to allow unauthorized file access.
How do I fix CVE-2025-27553?
To fix CVE-2025-27553, upgrade Apache Commons VFS to version 2.10.0 or later, which contains the necessary patch.
What is affected by CVE-2025-27553?
CVE-2025-27553 affects Apache Commons VFS versions prior to 2.10.0.
What type of vulnerability is CVE-2025-27553?
CVE-2025-27553 is a relative path traversal vulnerability that can lead to unauthorized access to files.
How does CVE-2025-27553 exploit the resolveFile method?
CVE-2025-27553 exploits the resolveFile method by allowing malicious input to bypass intended file path restrictions through the 'scope' parameter.
- agent/title
- agent/weakness
- agent/description
- agent/type
- agent/first-publish-date
- agent/author
- collector/oss-sec
- source/oss-sec
- alias/CVE-2025-27553
- agent/guess-ai
- agent/software-canonical-lookup
- agent/severity
- agent/source
- agent/trending
- agent/softwarecombine
- agent/event
- collector/epss-latest
- source/FIRST
- agent/epss
- collector/mitre-cve
- source/MITRE
- collector/nvd-api
- source/NVD
- agent/references
- agent/tags
- collector/github-advisory-latest
- source/GitHub
- alias/GHSA-9q4x-fr4m-jp86
- agent/last-modified-date
- collector/nvd-cve
- collector/github-advisory
- vendor/apache
- canonical/apache commons vfs
- package-manager/maven
Contact
SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.coBy using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203