CVE-2025-30474

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

Vendor Apache Software Foundation
Product Apache Commons VFS
Weakness CWE-200 · Info exposure
Published March 23, 2025
Last update April 1, 2025

CVSS base score

What the vulnerability does

Description

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.

Key dates

Disclosure timeline

March 23, 2025 CVE published
April 1, 2025 Record updated