7.5high
Uncontrolled Recursion in Akka HTTP
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 35.3% (higher than 98% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-3hw2-h67c-wq66
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| com.typesafe.akka:akka-http-core_2.13.0-RC3 (Maven) | from 10.1.0 | GitHub Advisory Database |
| com.typesafe.akka:akka-http-core_2.13.0-RC2 (Maven) | from 10.1.0 | GitHub Advisory Database |
| com.typesafe.akka:akka-http-core_2.13.0-M5 (Maven) | from 10.1.0 | GitHub Advisory Database |
| com.typesafe.akka:aakka-http-core_2.13.0-M3 (Maven) | from 10.1.0 | GitHub Advisory Database |
| com.typesafe.akka:akka-http-core_2.13 (Maven) | from 10.1.0 before 10.1.15, from 10.2.0-M1 before 10.2.7 | GitHub Advisory Database |
| com.typesafe.akka:akka-http-core_2.12 (Maven) | from 10.1.0 before 10.1.15, from 10.2.0-M1 before 10.2.7 | GitHub Advisory Database |
| com.typesafe.akka:akka-http-core_2.11 (Maven) | from 10.1.0 before 10.1.15 | GitHub Advisory Database |
| akka http_server | from 10.1.0 before 10.1.15, from 10.2.0 before 10.2.7 | NVD |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Akka HTTP 10.1.x 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.
NVD (es)
Akka HTTP 10.1.x antes de 10.1.15 y 10.2.x antes de 10.2.7 pueden encontrar agotamiento de la pila mientras analizan las cabeceras HTTP, lo que permite a un atacante remoto llevar a cabo un ataque de denegación de servicio mediante el envío de una cabecera User-Agent con comentarios profundamente anidados
References
| https://akka.io/blog/ | vendor-advisory | |
| https://doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-user-agent.html | vendor-advisory, web | |
| https://akka.io/blog/news/2021/11/02/akka-http-10.2.7-released | release-notes, vendor-advisory, web | |
| https://akka.io/blog/news/2021/11/22/akka-http-10.1.15-released | release-notes, vendor-advisory, web | |
| http://packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.html | exploit, third-party-advisory, vdb-entry, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-42697 | advisory | |
| https://github.com/akka/akka-http/pull/3924 | web | |
| https://akka.io/blog | web | |
| https://github.com/akka/akka-http | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-42697 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3hw2-h67c-wq66 changed 2025-09-30 | CC-BY-4.0 |
| NVD | CVE-2021-42697 changed 2026-06-17 | Public domain |