CVE-2025-30474
MEDIUM 5.0CVSS 3.1Apache Commons VFS Exposure of Sensitive Information to an Unauthorized Actor
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.
- Published
- 23 Mar 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-200
- Also known as
- GHSA-3936-3gx6-49c4
- Sources
- NVDJSONOSV GHSA-3936-3gx6-49c4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | commons_vfscpe:2.3:a:apache:commons_vfs:*:*:*:*:*:*:*:* |
< 2.10.0 | 2.10.0 |
| OSV | Maven | org.apache.commons:commons-vfs2 | < 2.10.0 | 2.10.0 |
References
- https://issues.apache.org/jira/browse/VFS-169 · Issue Tracking, Patch, WEB
- https://lists.apache.org/thread/w6ztgnbk6ccry3470x191g3xwrpgy6f4 · Mailing List, Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2025/03/23/2 · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-30474 · ADVISORY
- https://github.com/apache/commons-vfs · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 23 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Mar 2025)