MediumGHSA-6mcm-j9cj-3vc3CVE-2021-41973

Infinite loop in Apache MINA

Published 3 Nov 2021 · Updated 8 Nov 2023

Is your project on an affected org.apache.mina:mina-core?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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
Update to the fixed version for your release line, for example: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
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.mina:mina-core -DdepVersion=2.0.22 -DforceVersion=true

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.

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
All 8 advisories for org.apache.mina:mina-core

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.