High severity7.5NVD Advisory· Published Nov 2, 2021· Updated Jun 17, 2026
CVE-2021-42697
CVE-2021-42697
Description
Akka HTTP 10.1.x before 10.1.15 and 10.2.x before 10.2.7 can encounter stack exhaustion while parsing HTTP headers, which allows a remote attacker to conduct a Denial of Service attack by sending a User-Agent header with deeply nested comments.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.typesafe.akka:akka-http-core_2.13.0-RC3Maven | >= 10.1.0 | — |
com.typesafe.akka:akka-http-core_2.13.0-RC2Maven | >= 10.1.0 | — |
com.typesafe.akka:akka-http-core_2.13.0-M5Maven | >= 10.1.0 | — |
com.typesafe.akka:aakka-http-core_2.13.0-M3Maven | >= 10.1.0 | — |
com.typesafe.akka:akka-http-core_2.13Maven | >= 10.1.0, < 10.1.15 | 10.1.15 |
com.typesafe.akka:akka-http-core_2.13Maven | >= 10.2.0-M1, < 10.2.7 | 10.2.7 |
com.typesafe.akka:akka-http-core_2.12Maven | >= 10.1.0, < 10.1.15 | 10.1.15 |
com.typesafe.akka:akka-http-core_2.12Maven | >= 10.2.0-M1, < 10.2.7 | 10.2.7 |
com.typesafe.akka:akka-http-core_2.11Maven | >= 10.1.0, < 10.1.15 | 10.1.15 |
Affected products
9- Akka HTTP/Akka HTTPdescription
- ghsa-coords7 versionspkg:maven/com.typesafe.akka/aakka-http-core_2.13.0-M3pkg:maven/com.typesafe.akka/akka-http-core_2.11pkg:maven/com.typesafe.akka/akka-http-core_2.12pkg:maven/com.typesafe.akka/akka-http-core_2.13pkg:maven/com.typesafe.akka/akka-http-core_2.13.0-M5pkg:maven/com.typesafe.akka/akka-http-core_2.13.0-RC2pkg:maven/com.typesafe.akka/akka-http-core_2.13.0-RC3
>= 10.1.0+ 6 more
- (no CPE)range: >= 10.1.0
- (no CPE)range: >= 10.1.0, < 10.1.15
- (no CPE)range: >= 10.1.0, < 10.1.15
- (no CPE)range: >= 10.1.0, < 10.1.15
- (no CPE)range: >= 10.1.0
- (no CPE)range: >= 10.1.0
- (no CPE)range: >= 10.1.0
Patches
Vulnerability mechanics
References
9- packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.htmlnvdExploitThird Party AdvisoryVDB EntryWEB
- akka.io/blog/nvdVendor Advisory
- akka.io/blog/news/2021/11/02/akka-http-10.2.7-releasednvdRelease NotesVendor AdvisoryWEB
- akka.io/blog/news/2021/11/22/akka-http-10.1.15-releasednvdRelease NotesVendor AdvisoryWEB
- doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-user-agent.htmlnvdVendor AdvisoryWEB
- github.com/advisories/GHSA-3hw2-h67c-wq66ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-42697ghsaADVISORY
- akka.io/blogghsaWEB
- github.com/akka/akka-http/pull/3924ghsaWEB
News mentions
0No linked articles in our index yet.