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)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| commons-net » commons-net | < 3.9.0 | 3.9.0 |
Blast radius
68% of the dependent artifacts (14,499) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.apache.maven.plugins » maven-site-plugin9,107 usages
- org.apache.hadoop » hadoop-common3,482 usages
- org.apache.spark » spark-sql3,174 usages
- org.apache.kafka » kafka-clients3,135 usages
- org.apache.spark » spark-core2,899 usages
- com.typesafe.play » play-test1,902 usages
- org.apache.hadoop » hadoop-client1,796 usages
- org.apache.kafka » kafka1,450 usages
- org.apache.hadoop » hadoop-mapreduce-client-core1,366 usages
- org.scalatestplus.play » scalatestplus-play1,286 usages
- org.codehaus.mojo » gwt-maven-plugin1,170 usages
- org.apache.kafka » connect-api1,026 usages
- org.apache.flink » flink-streaming-java982 usages
- org.apache.hbase » hbase-client960 usages
- org.apache.hadoop » hadoop-core855 usages
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.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-37533
- Webhttps://github.com/apache/commons-net/commit/4fe1bae56e53f32756b1ca3296f3dd2c45e3e060
- Packagehttps://github.com/apache/commons-net
- Webhttps://issues.apache.org/jira/browse/NET-711
- Webhttps://lists.apache.org/thread/o6yn9r9x6s94v97264hmgol1sf48mvx7
- Webhttps://lists.debian.org/debian-lts-announce/2022/12/msg00038.html
- Webhttps://www.debian.org/security/2022/dsa-5307
- Webhttp://www.openwall.com/lists/oss-security/2022/12/03/1
