Every CVE Search/ Get API key

CVE-2021-37533

Apache Commons Net's FTP client trusts the host from PASV response by default

6.5 MediumFix available

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

2.17%Up 1.3 points since Dec 4, 2022
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
commons-net:commons-net
Maven
before 3.9.0
3.9.0
libcommons-net-java
Debian:12
before 3.9.0-1
3.9.0-1
libcommons-net-java
Debian:13
before 3.9.0-1
3.9.0-1
libcommons-net-java
Debian:14
before 3.9.0-1
3.9.0-1
libcommons-net-java
Debian:10
before 3.6-1+deb10u1, plus listed versions
3.6-1
3.6-1+deb10u1
libcommons-net-java
Debian:11
before 3.6-1+deb11u1, plus listed versions
3.6-1
3.6-1+deb11u1
commons-net:commons-net
Maven
before 3.9.0, plus listed versions
1.0.01.1.01.2.01.2.11.2.2
Show 17 moreShow less
1.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-net
openEuler:20.03-LTS-SP1
before 3.6-7.oe1
3.6-7.oe1
apache-commons-net
openEuler:20.03-LTS-SP3
before 3.6-7.oe1
3.6-7.oe1
apache-commons-net
openEuler:22.03-LTS
before 3.6-7.oe2203sp2
3.6-7.oe2203sp2
Show 16 moreShow less
Affected packages
PackageAffectedFixed
apache-commons-net
openEuler:22.03-LTS-SP1
before 3.6-7.oe2203sp1
3.6-7.oe2203sp1
apache-commons-net
openEuler:22.03-LTS-SP2
before 3.6-7.oe2203sp2
3.6-7.oe2203sp2
commons-net:commons-net
Red 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-net
Red Hat Lightwell:Maven
3.7.1 up to 3.7.1.rhlw-00001
3.7.1.rhlw-00001
commons-net:commons-net
Red 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 less
1.3.01.4.01.4.12.02.0.0
2.0.0.rhlw-00001
commons-net:commons-net
Red 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-net
Red 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-net
Red Hat Lightwell:Maven
3.7.2 up to 3.7.2.rhlw-00001
3.7.2.rhlw-00001
commons-net:commons-net
Red 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-net
Red Hat Lightwell:Maven
3.8.0 up to 3.8.0.rhlw-00001
3.8.0.rhlw-00001
commons-net:commons-net
Red 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-java
Ubuntu: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-java
Ubuntu: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-java
Ubuntu: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-java
Ubuntu: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-net
openSUSE:Tumbleweed
before 3.9.0-1.1
3.9.0-1.1

History

History
RecordedChangedSources
first indexedCVE 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

Show 10 moreShow less
MoveEnter Open