CWE
200
EPSS
0.049%
Advisory Published
Advisory Published
Updated

CVE-2025-30474: Apache Commons VFS: Failing to find an FTP file can reveal the URI's password in an error message

First published: Sun Mar 23 2025(Updated: )

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.

Credit: security@apache.org

Affected SoftwareAffected VersionHow to fix
Apache Commons VFS<2.10.0
maven/org.apache.commons:commons-vfs2<2.10.0
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-30474?

    CVE-2025-30474 has been classified as a moderate severity vulnerability due to the potential exposure of sensitive information.

  • How do I fix CVE-2025-30474?

    To fix CVE-2025-30474, update Apache Commons VFS to version 2.10.0 or later.

  • What type of information is exposed in CVE-2025-30474?

    CVE-2025-30474 can expose sensitive information, such as passwords, through exception messages when files are not found.

  • Which versions of Apache Commons VFS are affected by CVE-2025-30474?

    CVE-2025-30474 affects Apache Commons VFS versions up to 2.10.0.

  • Is CVE-2025-30474 related to file operations?

    Yes, CVE-2025-30474 is related to file operations as it involves the FtpFileObject class handling file not found exceptions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By 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