MODERATE 5.0

CVE-2025-30474

Apache Commons VFS Exposure of Sensitive Information to an Unauthorized Actor

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.commons » commons-vfs2
< 2.10.0
2.10.0

Blast radius

1affected artifacts
41affected versions
18,299dependent artifacts (est.)
661,541dependent versions

94% of the dependent artifacts (17,261) still pull an affected version in their latest release.

DepthDependent versions
Direct
30,047
2 hops
91,819
3 hops
449,086
4 hops
38,038
5 hops
25,299
6 hops
27,252

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

References

Advisorynvd.nist.gov
Packagegithub.com
Webissues.apache.org
Weblists.apache.org
Webopenwall.com