Home / Akka / Http Server / CVE-2021-42697
CVE-2021-42697: is it exploited, and which versions of Akka Http Server are affected and fixed?
CVE-2021-42697 is an uncontrolled recursion vulnerability in Akka Http Server. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: com.typesafe.akka:akka-http-core_2.13.0-RC3 10.1.0 and later, no fix listed, com.typesafe.akka:akka-http-core_2.13.0-RC2 10.1.0 and later, no fix listed, com.typesafe.akka:akka-http-core_2.13.0-M5 10.1.0 and later, no fix listed and 6 more (GitHub advisory GHSA-3hw2-h67c-wq66). Fixed in 10.1.15 and 10.2.7 (GitHub advisory GHSA-3hw2-h67c-wq66). Severity: High (7.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:53 UTC.
What is CVE-2021-42697?
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.
From the CVE record by mitre, last updated August 4, 2024, 03:38 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | com.typesafe.akka:akka-http-core_2.13.0-RC3 | >= 10.1.0 | none listed | GHSA-3hw2-h67c-wq66 |
| Maven | com.typesafe.akka:akka-http-core_2.13.0-RC2 | >= 10.1.0 | none listed | GHSA-3hw2-h67c-wq66 |
| Maven | com.typesafe.akka:akka-http-core_2.13.0-M5 | >= 10.1.0 | none listed | GHSA-3hw2-h67c-wq66 |
| Maven | com.typesafe.akka:aakka-http-core_2.13.0-M3 | >= 10.1.0 | none listed | GHSA-3hw2-h67c-wq66 |
| Maven | com.typesafe.akka:akka-http-core_2.13 | >= 10.1.0, < 10.1.15 | 10.1.15 | GHSA-3hw2-h67c-wq66 |
| Maven | com.typesafe.akka:akka-http-core_2.13 | >= 10.2.0-M1, < 10.2.7 | 10.2.7 | GHSA-3hw2-h67c-wq66 |
| Maven | com.typesafe.akka:akka-http-core_2.12 | >= 10.1.0, < 10.1.15 | 10.1.15 | GHSA-3hw2-h67c-wq66 |
| Maven | com.typesafe.akka:akka-http-core_2.12 | >= 10.2.0-M1, < 10.2.7 | 10.2.7 | GHSA-3hw2-h67c-wq66 |
| Maven | com.typesafe.akka:akka-http-core_2.11 | >= 10.1.0, < 10.1.15 | 10.1.15 | GHSA-3hw2-h67c-wq66 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 30, 2025. Summary: Uncontrolled Recursion in Akka HTTP.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| akka | http server | from 10.1.0 before 10.1.15 | application |
| akka | http server | from 10.2.0 before 10.2.7 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:09 UTC.
How severe is CVE-2021-42697?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD |
| Medium 5.0 | CVSS 2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-42697 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 35.3% probability of exploitation activity in the next 30 days, percentile 98.5 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://akka.io/blog/ x_refsource_MISC
- https://doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-user-agent.html x_refsource_MISC
- https://akka.io/blog/news/2021/11/02/akka-http-10.2.7-released x_refsource_MISC
- https://akka.io/blog/news/2021/11/22/akka-http-10.1.15-released x_refsource_MISC
- http://packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- October 18, 2021
- Published
- November 2, 2021, 21:44 UTC
- CVE record updated
- August 4, 2024, 03:38 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 04:09 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:53 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Http Server?
- Oct 4, 2017CVE-2017-1000118 Akka Http Server: memory corruption (buffer overflow)
Questions about CVE-2021-42697
Is CVE-2021-42697 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 35.3% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Akka Http Server are affected by CVE-2021-42697?
com.typesafe.akka:akka-http-core_2.13.0-RC3 10.1.0 and later, no fix listed, com.typesafe.akka:akka-http-core_2.13.0-RC2 10.1.0 and later, no fix listed, com.typesafe.akka:akka-http-core_2.13.0-M5 10.1.0 and later, no fix listed, com.typesafe.akka:aakka-http-core_2.13.0-M3 10.1.0 and later, no fix listed, com.typesafe.akka:akka-http-core_2.13 from 10.1.0 before 10.1.15, com.typesafe.akka:akka-http-core_2.13 from 10.2.0-M1 before 10.2.7 and 3 more, per the GitHub advisory GHSA-3hw2-h67c-wq66. The tables above give every range the sources list.
Which version fixes CVE-2021-42697?
10.1.15 and 10.2.7, per the GitHub advisory GHSA-3hw2-h67c-wq66. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-42697?
High (7.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-42697?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.