Skip to content
Heist/ feed
Back to feed
Medium

commons-vfs — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2025-30474

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.

Products
commons-vfs
Affected versions
2.0-3ubuntu1, 2.0-7ubuntu1, 2.1-1, 2.1-2, 2.1-4, 2.1-5
Fixed versions
Not specified
CVEs
CVE-2025-30474
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:26 UTC · Revision 1

Source evidence

UBUNTU-CVE-2025-30474

core-osv · Original source

Published 23 Mar 2025, 15:15 UTC

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.

osv:UBUNTU-CVE-2025-30474

commons-vfs

Fixed versions: Not specified

commons-vfs

Fixed versions: Not specified

commons-vfs

Fixed versions: Not specified

commons-vfs

Fixed versions: Not specified

commons-vfs

Fixed versions: Not specified

commons-vfs

Fixed versions: Not specified

commons-vfs

Fixed versions: Not specified

commons-vfs

Fixed versions: Not specified

Complete source record
{
  "id": "fdd38c9afcbb238a00e0828e3cd2f102f37681310c64593c12ac94d60b3b8925",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2025-30474",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2025-30474",
    "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.",
    "evidence": "osv:UBUNTU-CVE-2025-30474",
    "products": [
      {
        "name": {
          "value": "commons-vfs",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.0-3ubuntu1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2.0-7ubuntu1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "commons-vfs",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.1-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.1-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "commons-vfs",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.1-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "commons-vfs",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.1-2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "commons-vfs",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.1-4",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "commons-vfs",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.1-4",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "2.1-5",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "commons-vfs",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.1-5",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "commons-vfs",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.1-5",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2025-30474",
      "aliases": [
        "UBUNTU-CVE-2025-30474"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "commons-vfs",
            "purl": "pkg:deb/ubuntu/commons-vfs?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "2.0-3ubuntu1",
            "2.0-7ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-30474.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcommons-vfs-java",
                "binary_version": "2.0-7ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "commons-vfs",
            "purl": "pkg:deb/ubuntu/commons-vfs?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "2.1-1",
            "2.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-30474.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcommons-vfs-java",
                "binary_version": "2.1-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "commons-vfs",
            "purl": "pkg:deb/ubuntu/commons-vfs?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "2.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-30474.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcommons-vfs-java",
                "binary_version": "2.1-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "commons-vfs",
            "purl": "pkg:deb/ubuntu/commons-vfs?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "2.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-30474.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcommons-vfs-java",
                "binary_version": "2.1-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "commons-vfs",
            "purl": "pkg:deb/ubuntu/commons-vfs?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "2.1-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-30474.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcommons-vfs-java",
                "binary_version": "2.1-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "commons-vfs",
            "purl": "pkg:deb/ubuntu/commons-vfs?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "2.1-4",
            "2.1-5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-30474.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcommons-vfs-java",
                "binary_version": "2.1-5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "commons-vfs",
            "purl": "pkg:deb/ubuntu/commons-vfs?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.1-5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-30474.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcommons-vfs-java",
                "binary_version": "2.1-5"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "commons-vfs",
            "purl": "pkg:deb/ubuntu/commons-vfs?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "2.1-5"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-30474.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcommons-vfs-java",
                "binary_version": "2.1-5"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:50.083664253Z",
      "provider": "osv",
      "upstream": [
        "CVE-2025-30474"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2025-30474",
        "https://www.cve.org/CVERecord?id=CVE-2025-30474",
        "https://www.openwall.com/lists/oss-security/2025/03/23/2",
        "https://lists.apache.org/thread/w6ztgnbk6ccry3470x191g3xwrpgy6f4"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2025-30474",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 356428,
  "published_at": "2025-03-23T15:15:00+00:00"
}