CVE-2025-30474
Apache Commons VFS Exposure of Sensitive Information to an Unauthorized Actor
Reported by apache · Published March 23, 2025
commons-vfs2 is fixed in 2.10.0 (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.commons:commons-vfs2 | Maven Central | 2.10.0 |
| apache-commons-vfs-javadoc | Amazon Linux | 2.0-11.amzn2.0.1 |
| apache-commons-vfs | Amazon Linux | 2.0-11.amzn2.0.1 |
| apache-commons-vfs-ant | Amazon Linux | 2.0-11.amzn2.0.1 |
| apache-commons-vfs-examples | Amazon Linux | 2.0-11.amzn2.0.1 |
| commons_vfs | apache | 2.10.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Commons VFS | 0 |
| Maven | org.apache.commons:commons-vfs2 | 0 |
| amazon:2 | apache-commons-vfs-javadoc | 0 |
| Apache Software Foundation | Apache Commons VFS | 0 |
| amazon:2 | apache-commons-vfs | 0 |
| amazon:2 | apache-commons-vfs-ant | 0 |
| amazon:2 | apache-commons-vfs-examples | 0 |
Timeline
- Mar 23, 2025 CVE Published
- Mar 24, 2025 EPSS Score (30 in total, the first dated here)
- Mar 24, 2025 Coalition ESS Score (13 in total, the first dated here)
- Mar 17, 2026 Security Advisory (4 in total, the first dated here)
- Nov 2, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-30474
vulnetix vdb fixes CVE-2025-30474
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-30474/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- related
- vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-30474 advisory
- https://github.com/advisories/GHSA-3936-3gx6-49c4 advisory
- https://github.com/apache/commons-vfs url
- http://www.openwall.com/lists/oss-security/2025/03/23/2 url