CVE-2021-37533
published medium CVSS 3.1 · 6.5Apache Commons Net's FTP client trusts the host from PASV response by default
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache Commons NetApache Commons Net to < 3.9.0 | Affected | Not stated | apache |
| Debian | bullseye | libcommons-net-java | Advisory build | 3.6-1+deb11u1 | DSA-5307-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-netaarch64 | Advisory build | 3.9.0-1.1 | OPENSUSE-SU-2024:12549-1 |
| Ubuntu | bionic | libcommons-net-java | Advisory build | 3.6-1+deb11u1build0.18.04.1 | USN-6037-1 |
| Debian | buster | libcommons-net-java | Advisory build | 3.6-1+deb10u1 | DLA-3251-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-netppc64le | Advisory build | 3.9.0-1.1 | OPENSUSE-SU-2024:12549-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-nets390x | Advisory build | 3.9.0-1.1 | OPENSUSE-SU-2024:12549-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-netx86_64 | Advisory build | 3.9.0-1.1 | OPENSUSE-SU-2024:12549-1 |
Show 7 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-net-javadocaarch64 | Advisory build | 3.9.0-1.1 | OPENSUSE-SU-2024:12549-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-net-javadocppc64le | Advisory build | 3.9.0-1.1 | OPENSUSE-SU-2024:12549-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-net-javadocs390x | Advisory build | 3.9.0-1.1 | OPENSUSE-SU-2024:12549-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | apache-commons-net-javadocx86_64 | Advisory build | 3.9.0-1.1 | OPENSUSE-SU-2024:12549-1 |
| Ubuntu | focal | libcommons-net-java | Advisory build | 3.6-1+deb11u1build0.20.04.1 | USN-6037-1 |
| Ubuntu | jammy | libcommons-net-java | Advisory build | 3.6-1+deb11u1build0.22.04.1 | USN-6037-1 |
| Ubuntu | xenial | libcommons-net-java | Advisory build | 3.4-2ubuntu2+esm1 | USN-6037-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Commons Net | Apache Commons Net to < 3.9.0 (affected · custom) | apache · cna |
Weaknesses
1- CWE-20 CWE-20 Improper Input Validation
References
4- [oss-security] 20221203 CVE-2021-37533: Apache Commons Net's FTP client trusts the host from PASV response by default http://www.openwall.com/lists/oss-security/2022/12/03/1
- https://lists.apache.org/thread/o6yn9r9x6s94v97264hmgol1sf48mvx7
- [debian-lts-announce] 20221229 [SECURITY] [DLA 3251-1] libcommons-net-java security update https://lists.debian.org/debian-lts-announce/2022/12/msg00038.html
- DSA-5307 https://www.debian.org/security/2022/dsa-5307
Provider assertions
3apache · cna
Apache Commons Net's FTP client trusts the host from PASV response by default
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 31eb96bedde191337bf2426a8b649a968f32320e852b30810e50dd33f6d9563b
- Ingested
- 23 Sep 2026, 07:55:20 UTC
- Source record
- Official CVE record