# CVE-2021-37533: Apache Commons Net's FTP client trusts the host from PASV response by default

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.69%, higher than 86% of CVEs (2026-12-01)
- Published: 2022-12-03T00:00:00.000Z
- Modified: 2026-09-10T03:49:47.609Z
- Also known as: GHSA-cgp8-4m63-fhh5
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Commons Net: from Apache Commons Net before 3.9.0
- commons-net:commons-net (Maven): before 3.9.0
- apache commons_net: before 3.9.0
- debian debian_linux: 10.0; 11.0

## Every score

- CISA-ADP: 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`
- GitHub: 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`
- NVD: 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`

## References

- <https://lists.apache.org/thread/o6yn9r9x6s94v97264hmgol1sf48mvx7> (issue-tracking, mailing-list, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/12/03/1> (issue-tracking, mailing-list, third-party-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, vendor-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)

## Sources

- CVE List: [CVE-2021-37533](https://www.cve.org/CVERecord?id=CVE-2021-37533), CVE Terms of Use, modified 2025-04-24
- GitHub Advisory Database: [GHSA-cgp8-4m63-fhh5](https://github.com/advisories/GHSA-cgp8-4m63-fhh5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2021-37533](https://nvd.nist.gov/vuln/detail/CVE-2021-37533), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-37533 · Whole record: https://cve.day/CVE-2021-37533.json · Rebuilt by cve.day 2026-11-25T22:58:07.894Z
