{"id":"CVE-2025-30474","published":"2025-03-23T14:15:51Z","modified":"2025-04-01T18:04:55Z","title":"Apache Commons VFS: Failing to find an FTP file can reveal the URI's password in an error message","vendor":"Apache","product":"Apache Commons VFS","tier":"tail","description":{"text":"Exposure of Sensitive Information to an Unauthorized Actor vulnerability in Apache Commons VFS.\n\nThe 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\nThis issue affects Apache Commons VFS: before 2.10.0.\n\nUsers are recommended to upgrade to version 2.10.0, which fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00887,"percentile":0.60163,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://issues.apache.org/jira/browse/VFS-169","tags":["related"]},{"url":"https://lists.apache.org/thread/w6ztgnbk6ccry3470x191g3xwrpgy6f4","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2025/03/23/2","tags":[]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":12.03},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Commons VFS","versions":["< 2.10.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-01T18:03:56.944119Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.commons:commons-vfs2","vulnerableRanges":["<2.10.0"],"patched":["2.10.0"],"from":["GHSA-3936-3gx6-49c4"],"provenance":"source"}],"summary":{"text":"The FtpFileObject class in Apache Commons VFS throws an exception when a requested file is not found, and that exception message includes the original URI, which can contain a password. An attacker with low-privilege authenticated access, network reachability to the affected component, and the ability to trigger a file-not-found condition (with high attack complexity) could obtain the embedded credential from the error output.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:51Z"},"euvd":{"id":"EUVD-2025-7320","exploited":false,"provenance":"source"}}