CVE-2021-37533
MEDIUM 6.5CVSS 3.1Apache Commons Net vulnerable to information leakage via malicious server
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.
- Published
- 3 Dec 2022
- Last modified
- 10 Sep 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-cgp8-4m63-fhh5
- Sources
- NVDJSONOSV GHSA-cgp8-4m63-fhh5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | commons_netcpe:2.3:a:apache:commons_net:*:*:*:*:*:*:*:* |
< 3.9.0 | 3.9.0 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| OSV | Maven | commons-net:commons-net | < 3.9.0 | 3.9.0 |
References
- http://www.openwall.com/lists/oss-security/2022/12/03/1 · Issue Tracking, Mailing List, Third Party Advisory, WEB
- https://lists.apache.org/thread/o6yn9r9x6s94v97264hmgol1sf48mvx7 · Issue Tracking, Mailing List, Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2022/12/msg00038.html · Mailing List, Third Party Advisory, WEB
- https://www.debian.org/security/2022/dsa-5307 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-37533 · ADVISORY
- https://github.com/apache/commons-net/commit/4fe1bae56e53f32756b1ca3296f3dd2c45e3e060 · WEB
- https://github.com/apache/commons-net · PACKAGE
- https://issues.apache.org/jira/browse/NET-711 · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 3 Dec 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 3 Dec 2022)