Improper input validation in Apache Commons Net
CVE-2021-37533
- CVSS v3
- 6.5 Medium
- Public exploits
- None known
- EPSS
- 0.022 · 82.7th percentile
- Published
- 2022-12-03
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 · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.022, 82.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Apache Commons Net
- Apache Software Foundation Commons Net — versions Apache Commons Net
- Debian Linux — versions 10.0, 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- lists.apache.org/thread/o6yn9r9x6s94v97264hmgol1sf48mvx7 (Mailing List, Issue Tracking, Vendor Advisory)
- [oss-security] 20221203 CVE-2021-37533: Apache Commons Net's FTP client trusts the host from PASV response by default (mailing-list, Mailing List, Third Party Advisory, Issue Tracking)
- [debian-lts-announce] 20221229 [SECURITY] [DLA 3251-1] libcommons-net-java security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-5307 (vendor-advisory, Third Party Advisory)