{"id":"UBUNTU-CVE-2025-30474","details":"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.","modified":"2026-05-20T16:21:20.203018421Z","published":"2025-03-23T15:15:00Z","upstream":["CVE-2025-30474"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2025-30474"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2025-30474"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2025/03/23/2"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2025/03/23/2"},{"type":"REPORT","url":"https://lists.apache.org/thread/w6ztgnbk6ccry3470x191g3xwrpgy6f4"}],"affected":[{"package":{"name":"commons-vfs","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/commons-vfs?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0-3ubuntu1","2.0-7ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0-7ubuntu1","binary_name":"libcommons-vfs-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-30474.json"}},{"package":{"name":"commons-vfs","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/commons-vfs?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1-1","2.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libcommons-vfs-java","binary_version":"2.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-30474.json"}},{"package":{"name":"commons-vfs","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/commons-vfs?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libcommons-vfs-java","binary_version":"2.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-30474.json"}},{"package":{"name":"commons-vfs","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/commons-vfs?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libcommons-vfs-java","binary_version":"2.1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-30474.json"}},{"package":{"name":"commons-vfs","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/commons-vfs?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1-4"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1-4","binary_name":"libcommons-vfs-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-30474.json"}},{"package":{"name":"commons-vfs","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/commons-vfs?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1-4","2.1-5"],"ecosystem_specific":{"binaries":[{"binary_name":"libcommons-vfs-java","binary_version":"2.1-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-30474.json"}},{"package":{"name":"commons-vfs","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/commons-vfs?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1-5"],"ecosystem_specific":{"binaries":[{"binary_name":"libcommons-vfs-java","binary_version":"2.1-5"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-30474.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]}