{"id":"CVE-2025-30474","aliases":["CVE-2025-30474","GHSA-3936-3gx6-49c4"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Commons VFS: Failing to find an FTP file can reveal the URI's password in an error message","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Vulnerabilidad de exposición de información confidencial a un agente no autorizado en Apache Commons VFS. La clase FtpFileObject puede generar una excepción cuando no se encuentra un archivo, revelando la URI original en su mensaje, que puede incluir una contraseña. La solución consiste en ocultar la contraseña en el mensaje de excepción. Este problema afecta a Apache Commons VFS anteriores a la versión 2.10.0. Se recomienda actualizar a la versión 2.10.0, que soluciona el problema.","source":"nvd"}],"published":"2025-03-23T14:15:51.339Z","modified":"2026-06-17T09:08:49.147Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"MEDIUM"}],"cwes":["CWE-200"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.10.0","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Commons VFS","package":"org.apache.commons:commons-vfs2","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.10.0"}],"ecosystem":"Maven","package":"org.apache.commons:commons-vfs2","purl":"pkg:maven/org.apache.commons/commons-vfs2","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.10.0"}],"vendor":"apache","product":"commons_vfs","cpe":"cpe:2.3:a:apache:commons_vfs:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://issues.apache.org/jira/browse/VFS-169","tags":["issue-tracking","patch","related","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.apache.org/thread/w6ztgnbk6ccry3470x191g3xwrpgy6f4","tags":["mailing-list","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2025/03/23/2","tags":["mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30474","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/commons-vfs","tags":["package"],"sources":["ghsa"]}],"credits":["Marek Šunda"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-01T18:03:56.944Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-30474","url":"https://www.cve.org/CVERecord?id=CVE-2025-30474","licence":"CVE Terms of Use","modified":"2025-04-01T18:04:55.401Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3936-3gx6-49c4","url":"https://github.com/advisories/GHSA-3936-3gx6-49c4","licence":"CC-BY-4.0","modified":"2025-03-25T03:50:54.932Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-30474","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-30474","licence":"Public domain","modified":"2026-06-17T09:08:49.147Z"}],"updatedAt":"2026-11-25T22:58:55.437Z","epss":{"score":0.00887,"percentile":0.60362,"date":"2026-12-01T12:00:22.000Z"}}