CVE-2021-37533
Apache Commons Net's FTP client trusts the host from PASV response by default
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.5
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.
- Record
CVE-2021-37533- 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 - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List
6.5
Apache Commons Net's FTP client trusts the host from PASV response by default
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.
- Record
CVE-2021-37533- 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 - Weakness
- CWE-20
- Updated
- 2026-11-02
EUVDEUVD-2022-7599
6.5
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.
- Record
EUVD-2022-7599- 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-cgp8-4m63-fhh5
6.5
Apache 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.
- Record
GHSA-cgp8-4m63-fhh5- 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 - Weakness
- CWE-20
- Updated
- 2026-11-02
OSV
6.5
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.
- Record
CVE-2021-37533- 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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-37533
6.5
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.
- Record
DEBIAN-CVE-2021-37533- 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 - Updated
- 2026-11-02
Show 14 moreShow less
OSVGHSA-cgp8-4m63-fhh5
6.5
Apache 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.
- Record
GHSA-cgp8-4m63-fhh5- 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 - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVOESA-2023-1882
6.5
apache-commons-net security update
Apache Commons Net library contains a collection of network utilities and protocol implementations. Supported protocols include: Echo, Finger, FTP, NNTP, NTP, POP3(S), SMTP(S), Telnet, Whois
Security Fix(es):
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.(CVE-2021-37533)
- Record
OESA-2023-1882- 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 - Updated
- 2026-11-02
OSVRHLW-2026-20f36034f30c7a24
6.5
Lightwell Security Advisory: commons-net 3.5.0.rhlw-00001
Red Hat Lightwell has released commons-net:commons-net 3.5.0.rhlw-00001 with a backported security fix.
CVE-2021-37533: 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.
This patched artifact is a drop-in replacement for commons-net:commons-net 3.5.0 from Maven Central.
- Record
RHLW-2026-20f36034f30c7a24- 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 - Updated
- 2026-11-02
OSVRHLW-2026-71f0bc56442456d3
6.5
Lightwell Security Advisory: commons-net 3.7.1.rhlw-00001
Red Hat Lightwell has released commons-net:commons-net 3.7.1.rhlw-00001 with a backported security fix.
CVE-2021-37533: 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.
This patched artifact is a drop-in replacement for commons-net:commons-net 3.7.1 from Maven Central.
- Record
RHLW-2026-71f0bc56442456d3- 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 - Updated
- 2026-11-02
OSVRHLW-2026-93c3daf552b9d6bc
6.5
Lightwell Security Advisory: commons-net 2.0.0.rhlw-00001
Red Hat Lightwell has released commons-net:commons-net 2.0.0.rhlw-00001 with a backported security fix.
CVE-2021-37533: 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.
This patched artifact is a drop-in replacement for commons-net:commons-net 2.0.0 from Maven Central.
- Record
RHLW-2026-93c3daf552b9d6bc- 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 - Updated
- 2026-11-02
OSVRHLW-2026-94b9703160382a25
6.5
Lightwell Security Advisory: commons-net 3.4.0.rhlw-00001
Red Hat Lightwell has released commons-net:commons-net 3.4.0.rhlw-00001 with a backported security fix.
CVE-2021-37533: 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.
This patched artifact is a drop-in replacement for commons-net:commons-net 3.4.0 from Maven Central.
- Record
RHLW-2026-94b9703160382a25- 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 - Updated
- 2026-11-02
OSVRHLW-2026-b6ad3b6e26ec332f
6.5
Lightwell Security Advisory: commons-net 3.3.0.rhlw-00001
Red Hat Lightwell has released commons-net:commons-net 3.3.0.rhlw-00001 with a backported security fix.
CVE-2021-37533: 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.
This patched artifact is a drop-in replacement for commons-net:commons-net 3.3.0 from Maven Central.
- Record
RHLW-2026-b6ad3b6e26ec332f- 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 - Updated
- 2026-11-02
OSVRHLW-2026-c7216db110a73995
6.5
Lightwell Security Advisory: commons-net 3.7.2.rhlw-00001
Red Hat Lightwell has released commons-net:commons-net 3.7.2.rhlw-00001 with a backported security fix.
CVE-2021-37533: 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.
This patched artifact is a drop-in replacement for commons-net:commons-net 3.7.2 from Maven Central.
- Record
RHLW-2026-c7216db110a73995- 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 - Updated
- 2026-11-02
OSVRHLW-2026-ce8caf53627ada47
6.5
Lightwell Security Advisory: commons-net 3.2.0.rhlw-00001
Red Hat Lightwell has released commons-net:commons-net 3.2.0.rhlw-00001 with a backported security fix.
CVE-2021-37533: 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.
This patched artifact is a drop-in replacement for commons-net:commons-net 3.2.0 from Maven Central.
- Record
RHLW-2026-ce8caf53627ada47- 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 - Updated
- 2026-11-02
OSVRHLW-2026-d10068b21671906a
6.5
Lightwell Security Advisory: commons-net 3.8.0.rhlw-00001
Red Hat Lightwell has released commons-net:commons-net 3.8.0.rhlw-00001 with a backported security fix.
CVE-2021-37533: 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.
This patched artifact is a drop-in replacement for commons-net:commons-net 3.8.0 from Maven Central.
- Record
RHLW-2026-d10068b21671906a- 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 - Updated
- 2026-11-02
OSVRHLW-2026-e16a7a7e33d1bd95
6.5
Lightwell Security Advisory: commons-net 3.6.0.rhlw-00001
Red Hat Lightwell has released commons-net:commons-net 3.6.0.rhlw-00001 with a backported security fix.
CVE-2021-37533: 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.
This patched artifact is a drop-in replacement for commons-net:commons-net 3.6.0 from Maven Central.
- Record
RHLW-2026-e16a7a7e33d1bd95- 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 - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-37533
6.5
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.
- Record
UBUNTU-CVE-2021-37533- 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 - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:12549-1 No score
apache-commons-net-3.9.0-1.1 on GA media
These are all security issues fixed in the apache-commons-net-3.9.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:12549-1- Updated
- 2026-11-02
OSVUSN-6037-1 No score
Apache Commons Net vulnerability
ZeddYu Lu discovered that the FTP client from Apache Commons Net trusted the host from PASV responses by default. A remote attacker with a malicious FTP server could redirect the client to another server, which could possibly result in leaked information about services running on the private network of the client.
- Record
USN-6037-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
commons-net:commons-netMaven |
before 3.9.0 | 3.9.0 |
libcommons-net-javaDebian:12 |
before 3.9.0-1 | 3.9.0-1 |
libcommons-net-javaDebian:13 |
before 3.9.0-1 | 3.9.0-1 |
libcommons-net-javaDebian:14 |
before 3.9.0-1 | 3.9.0-1 |
libcommons-net-javaDebian:10 |
before 3.6-1+deb10u1, plus listed versions 3.6-1 |
3.6-1+deb10u1 |
libcommons-net-javaDebian:11 |
before 3.6-1+deb11u1, plus listed versions 3.6-1 |
3.6-1+deb11u1 |
commons-net:commons-netMaven |
before 3.9.0, plus listed versions 1.0.01.1.01.2.01.2.11.2.2 Show 17 moreShow less1.3.01.4.01.4.12.02.23.03.0.13.13.23.33.43.53.63.73.7.13.7.23.8.0 |
3.9.0 |
apache-commons-netopenEuler:20.03-LTS-SP1 |
before 3.6-7.oe1 | 3.6-7.oe1 |
apache-commons-netopenEuler:20.03-LTS-SP3 |
before 3.6-7.oe1 | 3.6-7.oe1 |
apache-commons-netopenEuler:22.03-LTS |
before 3.6-7.oe2203sp2 | 3.6-7.oe2203sp2 |
Show 16 moreShow less
| Package | Affected | Fixed |
|---|---|---|
apache-commons-netopenEuler:22.03-LTS-SP1 |
before 3.6-7.oe2203sp1 | 3.6-7.oe2203sp1 |
apache-commons-netopenEuler:22.03-LTS-SP2 |
before 3.6-7.oe2203sp2 | 3.6-7.oe2203sp2 |
commons-net:commons-netRed Hat Lightwell:Maven |
3.5.0 up to 3.5.0.rhlw-00001, plus listed versions 3.5 |
3.5.0.rhlw-00001 |
commons-net:commons-netRed Hat Lightwell:Maven |
3.7.1 up to 3.7.1.rhlw-00001 | 3.7.1.rhlw-00001 |
commons-net:commons-netRed Hat Lightwell:Maven |
before 2.0.0.rhlw-00001, plus listed versions 1.0.01.1.01.2.01.2.11.2.2 Show 5 moreShow less1.3.01.4.01.4.12.02.0.0 |
2.0.0.rhlw-00001 |
commons-net:commons-netRed Hat Lightwell:Maven |
3.4.0 up to 3.4.0.rhlw-00001, plus listed versions 3.4 |
3.4.0.rhlw-00001 |
commons-net:commons-netRed Hat Lightwell:Maven |
3.3.0 up to 3.3.0.rhlw-00001, plus listed versions 3.3 |
3.3.0.rhlw-00001 |
commons-net:commons-netRed Hat Lightwell:Maven |
3.7.2 up to 3.7.2.rhlw-00001 | 3.7.2.rhlw-00001 |
commons-net:commons-netRed Hat Lightwell:Maven |
3.2.0 up to 3.2.0.rhlw-00001, plus listed versions 3.2 |
3.2.0.rhlw-00001 |
commons-net:commons-netRed Hat Lightwell:Maven |
3.8.0 up to 3.8.0.rhlw-00001 | 3.8.0.rhlw-00001 |
commons-net:commons-netRed Hat Lightwell:Maven |
3.6.0 up to 3.6.0.rhlw-00001, plus listed versions 3.6 |
3.6.0.rhlw-00001 |
libcommons-net-javaUbuntu:Pro:16.04:LTS |
before 3.4-2ubuntu2+esm1, plus listed versions 3.3-23.4-13.4-23.4-2ubuntu2 |
3.4-2ubuntu2+esm1 |
libcommons-net-javaUbuntu:18.04:LTS |
before 3.6-1+deb11u1build0.18.04.1, plus listed versions 3.6-1 |
3.6-1+deb11u1build0.18.04.1 |
libcommons-net-javaUbuntu:20.04:LTS |
before 3.6-1+deb11u1build0.20.04.1, plus listed versions 3.6-1 |
3.6-1+deb11u1build0.20.04.1 |
libcommons-net-javaUbuntu:22.04:LTS |
before 3.6-1+deb11u1build0.22.04.1, plus listed versions 3.6-1 |
3.6-1+deb11u1build0.22.04.1 |
apache-commons-netopenSUSE:Tumbleweed |
before 3.9.0-1.1 | 3.9.0-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-37533 is a medium vulnerability (CVSS 6.5) in Apache Commons Net, published December 3, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.17%, the 82nd percentile. Fixed in commons-net:commons-net 3.9.0.
References
lists.apache.org/thread/o6yn9r9x6s94v97264hmgol1sf48mvx7
openwall.com/lists/oss-security/2022/12/03/1
lists.debian.org/debian-lts-announce/2022/12/msg00038.html
debian.org/security/2022/dsa-5307
nvd.nist.gov/vuln/detail/CVE-2021-37533
github.com/apache/commons-net/commit/4fe1bae56e53f32756b1ca3296f3dd2c45e3e060
Show 10 moreShow less
issues.apache.org/jira/browse/NET-711
github.com/advisories/GHSA-cgp8-4m63-fhh5
security-tracker.debian.org/tracker/CVE-2021-37533
github.com/apache/commons-net
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1882
ubuntu.com/security/CVE-2021-37533
github.com/apache/commons-net/commit/b0bff89f70cfea70009e22f87639816cc3993974
cve.org/CVERecord?id=CVE-2021-37533
ubuntu.com/security/notices/USN-6037-1
suse.com/security/cve/CVE-2021-37533