MODERATE 6.5

CVE-2021-37533

Apache Commons Net vulnerable to information leakage via malicious server

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
commons-net » commons-net
< 3.9.0
3.9.0

Blast radius

1affected artifacts
37affected versions
21,246dependent artifacts (est.)
1,863,656dependent versions

68% of the dependent artifacts (14,499) still pull an affected version in their latest release.

DepthDependent versions
Direct
76,338
2 hops
749,685
3 hops
497,725
4 hops
336,033
5 hops
133,800
6 hops
70,075

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.