Skip to content

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

MediumCVSS 6.5 EPSS 2.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

11 packages: 10 fixed.

PackageAffectedFixed inStatus
Apache Commons Net >= Apache Commons Net, < 3.9.0 3.9.0 Fixed
apache commons net < 3.9.0 3.9.0 Fixed
commons-net/commons-net(Maven) < 3.9.0; = 1.0.0; = 1.1.0; = 1.2.0 +19 more 3.9.0 Fixed
debian/libcommons-net-java(Debian 12) < 3.9.0-1 3.9.0-1 Fixed
debian/libcommons-net-java(Debian 13) < 3.9.0-1 3.9.0-1 Fixed
debian/libcommons-net-java(Debian 14) < 3.9.0-1 3.9.0-1 Fixed
ubuntu/libcommons-net-java(Ubuntu 18.04) < 3.6-1+deb11u1build0.18.04.1; = 3.6-1 3.6-1+deb11u1build0.18.04.1 Fixed
ubuntu/libcommons-net-java(Ubuntu 20.04) < 3.6-1+deb11u1build0.20.04.1; = 3.6-1 3.6-1+deb11u1build0.20.04.1 Fixed
ubuntu/libcommons-net-java(Ubuntu 22.04) < 3.6-1+deb11u1build0.22.04.1; = 3.6-1 3.6-1+deb11u1build0.22.04.1 Fixed
ubuntu/libcommons-net-java(Ubuntu Pro 16.04) < 3.4-2ubuntu2+esm1; = 3.3-2; = 3.4-1; = 3.4-2 +1 more 3.4-2ubuntu2+esm1 Fixed
debian linux = 10.0; = 11.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
commons-net/commons-net(Maven) < 3.9.0 3.9.0
commons-net/commons-net(Maven) = 1.0.0 No fix listed
commons-net/commons-net(Maven) = 1.1.0 No fix listed
commons-net/commons-net(Maven) = 1.2.0 No fix listed
commons-net/commons-net(Maven) = 1.2.1 No fix listed
commons-net/commons-net(Maven) = 1.2.2 No fix listed
commons-net/commons-net(Maven) = 1.3.0 No fix listed
commons-net/commons-net(Maven) = 1.4.0 No fix listed
commons-net/commons-net(Maven) = 1.4.1 No fix listed
commons-net/commons-net(Maven) = 2.0 No fix listed
commons-net/commons-net(Maven) = 2.2 No fix listed
commons-net/commons-net(Maven) = 3.0 No fix listed
commons-net/commons-net(Maven) = 3.0.1 No fix listed
commons-net/commons-net(Maven) = 3.1 No fix listed
commons-net/commons-net(Maven) = 3.2 No fix listed
commons-net/commons-net(Maven) = 3.3 No fix listed
commons-net/commons-net(Maven) = 3.4 No fix listed
commons-net/commons-net(Maven) = 3.5 No fix listed
commons-net/commons-net(Maven) = 3.6 No fix listed
commons-net/commons-net(Maven) = 3.7 No fix listed
commons-net/commons-net(Maven) = 3.7.1 No fix listed
commons-net/commons-net(Maven) = 3.7.2 No fix listed
commons-net/commons-net(Maven) = 3.8.0 No fix listed
debian/libcommons-net-java(Debian:12) < 3.9.0-1 3.9.0-1
debian/libcommons-net-java(Debian:13) < 3.9.0-1 3.9.0-1
Show 16 more
ProductAffected versionsFixed in
debian/libcommons-net-java(Debian:14) < 3.9.0-1 3.9.0-1
ubuntu/libcommons-net-java(Ubuntu:22.04) < 3.6-1+deb11u1build0.22.04.1 3.6-1+deb11u1build0.22.04.1
apache commons net < 3.9.0 3.9.0
debian linux = 10.0 No fix listed
debian linux = 11.0 No fix listed
Apache Commons Net >= Apache Commons Net, < 3.9.0 3.9.0
ubuntu/libcommons-net-java(Ubuntu:Pro:16.04) < 3.4-2ubuntu2+esm1 3.4-2ubuntu2+esm1
ubuntu/libcommons-net-java(Ubuntu:Pro:16.04) = 3.3-2 No fix listed
ubuntu/libcommons-net-java(Ubuntu:Pro:16.04) = 3.4-1 No fix listed
ubuntu/libcommons-net-java(Ubuntu:Pro:16.04) = 3.4-2 No fix listed
ubuntu/libcommons-net-java(Ubuntu:Pro:16.04) = 3.4-2ubuntu2 No fix listed
ubuntu/libcommons-net-java(Ubuntu:18.04) < 3.6-1+deb11u1build0.18.04.1 3.6-1+deb11u1build0.18.04.1
ubuntu/libcommons-net-java(Ubuntu:18.04) = 3.6-1 No fix listed
ubuntu/libcommons-net-java(Ubuntu:20.04) < 3.6-1+deb11u1build0.20.04.1 3.6-1+deb11u1build0.20.04.1
ubuntu/libcommons-net-java(Ubuntu:20.04) = 3.6-1 No fix listed
ubuntu/libcommons-net-java(Ubuntu:22.04) = 3.6-1 No fix listed

References