CVE-2021-37533
Apache Commons Net's FTP client trusts the host from PASV response by default
- State
- Published
- Severity
- 6.5 Medium
- Published
- Dec 3, 2022
- Updated
- Apr 24, 2025
- Reserved
- Jul 26, 2021
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N | CISA-ADP |
Weaknesses
- CWE-20 Improper Input Validation
Affected Products
| Product | Versions |
|---|---|
Apache Commons NetApache Software Foundation |
|
References
- https://lists.apache.org/thread/o6yn9r9x6s94v97264hmgol1sf48mvx7
- [oss-security] 20221203 CVE-2021-37533: Apache Commons Net's FTP client trusts the host from PASV response by defaultmailing-list
- [debian-lts-announce] 20221229 [SECURITY] [DLA 3251-1] libcommons-net-java security updatemailing-list
- DSA-5307vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.