Infinite loop in Apache MINA
Published 3 Nov 2021 · Updated 8 Nov 2023
Is your project on an affected org.apache.mina:mina-core?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=2.1.0 <2.1.5
- Fixed in
- 2.1.5
mvn versions:use-dep-version -Dincludes=org.apache.mina:mina-core -DdepVersion=2.1.5 -DforceVersion=true- Affected
- <2.0.22
- Fixed in
- 2.0.22
mvn versions:use-dep-version -Dincludes=org.apache.mina:mina-core -DdepVersion=2.0.22 -DforceVersion=trueDetails
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.
Is GHSA-6mcm-j9cj-3vc3 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.mina:mina-core, and gives you the command that fixes it.
More advisories for org.apache.mina:mina-core
- CriticalCVE-2026-47065Apache MINA: Critical Deserialization Allow-list Bypass via resolveProxyClass · 3 Jun 2026
- CriticalCVE-2026-42778Apache MINA vulnerable to Deserialization of Untrusted Data (CVE-2026-41409 Incomplete Fix) · 1 May 2026
- CriticalCVE-2026-42779Apache MINA vulnerable to Deserialization of Untrusted Data (CVE-2026-41635 Incomplete Fix) · 1 May 2026
- CriticalCVE-2026-41409Apache MINA Vulnerable to Deserialization of Untrusted Data (CVE-2024-52046 Incomplete Fix) · 27 Apr 2026
- CriticalCVE-2026-41635Apache MINA vulnerable to Deserialization of Untrusted Data · 27 Apr 2026
- CriticalCVE-2024-52046Apache MINA Deserialization RCE Vulnerability · 25 Dec 2024
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2021-41973
- Linklists.apache.org/thread.html/r0b907da9340d5ff4e6c1a4798ef4e79700a668657f27cca8a39e9250%40%3Cdev.mina.apache.org%3E
- Linkwww.oracle.com/security-alerts/cpuapr2022.html
- Linkwww.openwall.com/lists/oss-security/2021/11/01/2
- Linkwww.openwall.com/lists/oss-security/2021/11/01/8
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.