CVE-2025-30474: Apache Commons VFS Exposure of Sensitive Information to an Unauthorized Actor
Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Commons VFS. The FtpFileObject class can throw an exception when a file is not found, revealing the original URI in its message, which may include a password. The fix is to mask the password in the exception message This issue affects Apache Commons VFS: before 2.10.0.
Published Mar 23, 2025 · Updated Mar 25, 2025
Affected packages
org.apache.commons:commons-vfs2
- Ecosystem
- Maven
- Affected
- < 2.10.0
- Fixed in
- 2.10.0
- Check
mvn dependency:tree -Dincludes=org.apache.commons:commons-vfs2
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Commons VFS.
The FtpFileObject class can throw an exception when a file is not found, revealing the original URI in its message, which may include a password. The fix is to mask the password in the exception message This issue affects Apache Commons VFS: before 2.10.0.
Users are recommended to upgrade to version 2.10.0, which fixes the issue.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
