VDB

CVE-2021-37533

CVE-2021-37533 PUBLISHED CVSS 6.5 MEDIUM

Apache Commons Net's FTP client trusts the host from PASV response by default

Reported by apache · Published December 3, 2022

commons-net is fixed in 3.9.0 (Maven Central)

Prior to Apache Commons Net 3.9.0, Net's FTP client trusts the host from PASV response by default. A malicious server can redirect the Commons Net code to use a different host, but the user has to connect to the malicious server in the first place. This may lead to leakage of information about services running on the private network of the client. The default in version 3.9.0 is now false to ignore such hosts, as cURL does. See https://issues.apache.org/jira/browse/NET-711.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
commons-net:commons-netMaven Central3.9.0
druidWolfi37.0.0-r56, 37.0.0-r14
spark-3.5Chainguard3.5.7-r2
druidChainguard37.0.0-r56, 37.0.0-r14
commons_netapache3.9.0
Apache Commons NetApache Software Foundation3.9.0

Risk scores

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

Affected products

VendorProductVersions
Apache Software FoundationApache Commons NetApache Commons Net
wolfidruid0, 0
Apache Software FoundationApache Commons Net*
chainguardspark-3.50
Mavencommons-net:commons-net0
chainguarddruid0, 0

Timeline

  • Dec 3, 2022 CVE Published
  • Dec 4, 2022 EPSS Score (30 in total, the first dated here)
  • Jun 1, 2026 Security Advisory (32 in total, the first dated here)
  • Jul 26, 2026 Coalition ESS Score
  • Oct 31, 2026 Distribution Patch (31 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-37533
vulnetix vdb fixes CVE-2021-37533

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-2021-37533/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 ›