cve.bz

CVE-2021-37533 Improper Input Validation

6.5 mediumEPSS 2.2%Fix available

Medium (6.5). EPSS 2.2% estimated probability of exploitation activity in the next 30 days. Fixed in commons-net:commons-net 3.9.0.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS
2.2% (unchanged from 2.2% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-37533 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-37533?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-37533?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-37533 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Commons Netfrom Apache Commons Net before 3.9.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cgp8-4m63-fhh5Mavencommons-net:commons-net<3.9.03.9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10libcommons-net-java3.6-1+deb10u1DLA-3251-1
Debian11libcommons-net-java3.6-1+deb11u1DSA-5307-1
Debian12, 13, 14libcommons-net-java3.9.0-1DEBIAN-CVE-2021-37533
Ubuntu18.04:LTSlibcommons-net-java3.6-1+deb11u1build0.18.04.1UBUNTU-CVE-2021-37533 USN-6037-1
Ubuntu20.04:LTSlibcommons-net-java3.6-1+deb11u1build0.20.04.1UBUNTU-CVE-2021-37533 USN-6037-1
Ubuntu22.04:LTSlibcommons-net-java3.6-1+deb11u1build0.22.04.1UBUNTU-CVE-2021-37533 USN-6037-1
UbuntuPro:16.04:LTSlibcommons-net-java3.4-2ubuntu2+esm1UBUNTU-CVE-2021-37533 USN-6037-1
openSUSETumbleweedapache-commons-net3.9.0-1.1openSUSE-SU-2024:12549-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
RHINT Camel-Q 2.13.3apache-commons-netFixed 2023-06-19RHSA-2023:3667
RHINT Camel-Springboot 3.20.1apache-commons-netFixed 2023-05-03RHSA-2023:2100
A-MQ Clients 2apache-commons-netNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/elasticsearch6-rhel8Not affected
Migration Toolkit for Applications 6io.netty-netty-tcnative-parentWill not fix
Migration Toolkit for Applications 6org.jboss.windup-windup-parentNot affected
Migration Toolkit for Runtimesio.netty-netty-tcnative-parentWill not fix
Migration Toolkit for Runtimesorg.jboss.windup-windup-parentNot affected
OpenShift Developer Tools and Servicesjenkins-2-pluginsAffected
Red Hat Data Grid 8apache-commons-netWill not fix
Red Hat Decision Manager 7apache-commons-netNot affected
Red Hat Enterprise Linux 7apache-commons-netWill not fix
Red Hat Enterprise Linux 8log4j:2/log4jWill not fix
Red Hat Enterprise Linux 8pki-deps:10.6/apache-commons-netWill not fix
Red Hat Enterprise Linux 9apache-commons-netWill not fix
Red Hat Enterprise Linux 9log4jWill not fix
Red Hat Fuse 7apache-commons-netOut of support scope
Red Hat Integration Camel K 1apache-commons-netAffected
Red Hat JBoss Data Grid 7apache-commons-netOut of support scope
Red Hat JBoss Enterprise Application Platform 6apache-commons-netOut of support scope
9 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-37533.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON