CVE-2021-41973
Infinite loop in Apache MINA
Description
In Apache MINA, a specifically crafted, malformed HTTP request may cause the HTTP Header decoder to loop indefinitely. The decoder assumed that the HTTP Header begins at the beginning of the buffer and loops if there is more data than expected. Please update MINA to 2.1.5 or greater.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.mina » mina-core | < 2.0.22>= 2.1.0, < 2.1.5 | 2.0.22, 2.1.5 |
Blast radius
56% of the dependent artifacts (5,412) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 19,301 |
| 2 hops | 93,194 |
| 3 hops | 68,238 |
| 4 hops | 107,144 |
| 5 hops | 247,075 |
| 6 hops | 219,506 |
Most used dependents
- 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
- org.apache.hadoop » hadoop-client1,796 usages
- org.eclipse.jetty » jetty-maven-plugin1,337 usages
- org.apache.kafka » connect-api1,026 usages
- org.apache.hbase » hbase-client960 usages
- org.apache.hadoop » hadoop-core855 usages
- org.apache.karaf.tooling » karaf-maven-plugin797 usages
- org.apache.hive » hive-exec699 usages
- io.fabric8 » fabric8-maven-plugin676 usages
- org.apache.hbase » hbase-common674 usages
- org.apache.hbase » hbase-server643 usages
- org.apache.spark » spark-hive633 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-41973
- Webhttps://lists.apache.org/thread.html/r0b907da9340d5ff4e6c1a4798ef4e79700a668657f27cca8a39e9250%40%3Cdev.mina.apache.org%3E
- Webhttps://www.oracle.com/security-alerts/cpuapr2022.html
- Webhttp://www.openwall.com/lists/oss-security/2021/11/01/2
- Webhttp://www.openwall.com/lists/oss-security/2021/11/01/8
