CVE-2025-30474 json
Apache Commons VFS: Failing to find an FTP file can reveal the URI's password in an error message
published 2025-03-23 19 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-7320 , GHSA-3936-3gx6-49c4
- cvss
- 5.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.apache.commons:commons-vfs2 2.10.0
- Apache Software Foundation Apache Commons VFS 2.10.0
- commons-vfs Debian 14, Debian 13, Debian 12 2.0-1
debian advisories DEBIAN-CVE-2025-30474
- apache-commons-vfs2 openSUSE Leap 15.6 2.10.0-150200.3.3.1
suse advisories SUSE-SU-2025:1022-1
- apache-commons-vfs2 openSUSE Tumbleweed 2.10.0-1.1
opensuse advisories openSUSE-SU-2025:14929-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-30474 updated cvss 7.5
apache-commons-vfs: Apache Commons VFS: Failing to find an FTP file can reveal the URI's password in an error message
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.89% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L |
| CNA | 3.1 | 5.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.apache.commons:commons-vfs2 | <2.10.0 |
2.10.0 |
Affected products
- Apache Software Foundation Apache Commons VFS
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
issues.apache.org
/jira/browse/VFS-169
related, web, issue-tracking, patch
-
lists.apache.org
/thread/w6ztgnbk6ccry3470x191g3xwrpgy6f4
vendor-advisory, web, mailing-list
-
openwall.com
/lists/oss-security/2025/03/23/2
web, mailing-list, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-30474
advisory
-
github.com
/apache/commons-vfs
package
Sources
- CVE List CVE-2025-30474
- GitHub Advisory GHSA-3936-3gx6-49c4
- NVD CVE-2025-30474
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.