CVE-2021-42697Akka 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…
- 7.5HighCVSS base score
- 35.3%Exploitation in 30 daysEPSS · top 1.5% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it.
Show the exploits1
Exploit-DB1 entry
- Akka HTTP 10.1.14 - Denial of Service (Exploit-DB entry) (opens in a new tab)
EDB-ID 50892remote, multiplepublished 11 May 2022Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 15 days later
· 15 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 35.3% · top 1.5% of all CVEs (16 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
n/a
- affected n/a
Affected packages
Affected packages7
From reviewed advisories of the GitHub Advisory Database.
- Mavencom.typesafe.akka:aakka-http-core_2.13.0-M3GHSA-3hw2-h67c-wq66 (opens in a new tab)
- Mavencom.typesafe.akka:akka-http-core_2.11GHSA-3hw2-h67c-wq66 (opens in a new tab)
- Mavencom.typesafe.akka:akka-http-core_2.12GHSA-3hw2-h67c-wq66 (opens in a new tab)
- Mavencom.typesafe.akka:akka-http-core_2.13GHSA-3hw2-h67c-wq66 (opens in a new tab)
- Mavencom.typesafe.akka:akka-http-core_2.13.0-M5GHSA-3hw2-h67c-wq66 (opens in a new tab)
- Mavencom.typesafe.akka:akka-http-core_2.13.0-RC2GHSA-3hw2-h67c-wq66 (opens in a new tab)
- Mavencom.typesafe.akka:akka-http-core_2.13.0-RC3GHSA-3hw2-h67c-wq66 (opens in a new tab)
References
References5
- https://akka.io/blog/ (opens in a new tab)x_refsource_MISCx_transferred
- https://doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-user-agent.html (opens in a new tab)x_refsource_MISCx_transferred
- https://akka.io/blog/news/2021/11/02/akka-http-10.2.7-released (opens in a new tab)x_refsource_MISCx_transferred
- https://akka.io/blog/news/2021/11/22/akka-http-10.1.15-released (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-2193 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-3hw2-h67c-wq66 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-42697)Record last updated .