Skip to content

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

MediumCVSS 5.0 EPSS 0.89%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

9 packages: 5 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/commons-vfs(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/commons-vfs(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/commons-vfs(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/commons-vfs(Ubuntu 26.10) All versions No fix listed No fix yet
apache commons vfs < 2.10.0 2.10.0 Fixed
debian/commons-vfs(Debian 12) < 2.0-1 2.0-1 Fixed
debian/commons-vfs(Debian 13) < 2.0-1 2.0-1 Fixed
debian/commons-vfs(Debian 14) < 2.0-1 2.0-1 Fixed
org.apache.commons/commons-vfs2(Maven) < 2.10.0; = 2.0; = 2.1; = 2.2 +8 more 2.10.0 Fixed

Affected products

ProductAffected versionsFixed in
org.apache.commons/commons-vfs2(Maven) < 2.10.0 2.10.0
org.apache.commons/commons-vfs2(Maven) = 2.0 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.1 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.2 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.3 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.4 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.4.1 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.5.0 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.6.0 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.7.0 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.8.0 No fix listed
org.apache.commons/commons-vfs2(Maven) = 2.9.0 No fix listed
debian/commons-vfs(Debian:12) < 2.0-1 2.0-1
debian/commons-vfs(Debian:13) < 2.0-1 2.0-1
debian/commons-vfs(Debian:14) < 2.0-1 2.0-1
ubuntu/commons-vfs(Ubuntu:22.04) All versions No fix listed
ubuntu/commons-vfs(Ubuntu:24.04) All versions No fix listed
ubuntu/commons-vfs(Ubuntu:26.04) All versions No fix listed
apache commons vfs < 2.10.0 2.10.0
ubuntu/commons-vfs(Ubuntu:26.10) All versions No fix listed

References