{"id":"CVE-2025-30474","state":"PUBLISHED","title":"Apache Commons VFS: Failing to find an FTP file can reveal the URI's password in an error message","description":"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.","publishedAt":"2025-03-23T14:15:51.339Z","updatedAt":"2025-04-01T18:04:55.401Z","severity":{"score":5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache Commons VFS"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Commons VFS","packageName":"org.apache.commons:commons-vfs2","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.10.0","versionType":"semver"}],"collectionURL":"https://repo.maven.apache.org/maven2"}],"references":["https://issues.apache.org/jira/browse/VFS-169","https://lists.apache.org/thread/w6ztgnbk6ccry3470x191g3xwrpgy6f4","http://www.openwall.com/lists/oss-security/2025/03/23/2"],"weaknesses":["CWE-200"],"ingestedAt":"2026-10-29T20:08:55.257Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/30xxx/CVE-2025-30474.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-30474","state":"PUBLISHED","datePublished":"2025-03-23T14:15:51.339Z","dateUpdated":"2025-04-01T18:04:55.401Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2025-03-22T14:34:44.280Z"},"containers":{"cna":{"title":"Apache Commons VFS: Failing to find an FTP file can reveal the URI's password in an error message","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Commons VFS","packageName":"org.apache.commons:commons-vfs2","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.10.0","versionType":"semver"}],"collectionURL":"https://repo.maven.apache.org/maven2"}],"references":[{"url":"https://issues.apache.org/jira/browse/VFS-169","tags":["related"]},{"url":"https://lists.apache.org/thread/w6ztgnbk6ccry3470x191g3xwrpgy6f4","tags":["vendor-advisory"]}],"metrics":[{"other":{"content":{"text":"moderate"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","description":"CWE-200 Exposure of Sensitive Information to an Unauthorized Actor","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2025-03-23T14:15:51.339Z"},"credits":[{"lang":"en","type":"finder","value":"Marek Šunda"}],"source":{"defect":["VFS-169"],"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2025/03/23/2"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-03-23T19:02:51.376Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"LOW","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-04-01T18:03:56.944119Z","id":"CVE-2025-30474","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-01T18:04:55.401Z"}}]}}}