VDB

CVE-2025-30474

CVE-2025-30474 PUBLISHED CVSS 5 MEDIUM

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.

PackageEcosystemFixed in
org.apache.commons:commons-vfs2Maven Central2.10.0
apache-commons-vfs-javadocAmazon Linux2.0-11.amzn2.0.1
apache-commons-vfsAmazon Linux2.0-11.amzn2.0.1
apache-commons-vfs-antAmazon Linux2.0-11.amzn2.0.1
apache-commons-vfs-examplesAmazon Linux2.0-11.amzn2.0.1
commons_vfsapache2.10.0

Risk scores

CVSS 3.1
5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
Apache Software FoundationApache Commons VFS0
Mavenorg.apache.commons:commons-vfs20
amazon:2apache-commons-vfs-javadoc0
Apache Software FoundationApache Commons VFS0
amazon:2apache-commons-vfs0
amazon:2apache-commons-vfs-ant0
amazon:2apache-commons-vfs-examples0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›