GitHub Advisory Database
GHSA-6mcm-j9cj-3vc3
Infinite loop in Apache MINA
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.mina:mina-core | From 2.1.0 before 2.1.5 (fixed in 2.1.5) |
| Maven | org.apache.mina:mina-core | All versions before 2.0.22 (fixed in 2.0.22) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-41973
- https://lists.apache.org/thread.html/r0b907da9340d5ff4e6c1a4798ef4e79700a668657f27cca8a39e9250%40%3Cdev.mina.apache.org%3E
- https://www.oracle.com/security-alerts/cpuapr2022.html
- http://www.openwall.com/lists/oss-security/2021/11/01/2
- http://www.openwall.com/lists/oss-security/2021/11/01/8