CVE-2021-42697
7.5 HIGHAkka 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...
Published: 2021-11-02 · Last updated: 2026-06-17
Severity and scoring
- CVSS
- 7.5 HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CWE
- CWE-674
Affected products
| Vendor | Product |
|---|---|
| akka | http_server |
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2021-42697
- [Exploit reference]http://packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.html
- [Vendor advisory]https://akka.io/blog/
- [Vendor advisory]https://akka.io/blog/news/2021/11/02/akka-http-10.2.7-released
- [Vendor advisory]https://akka.io/blog/news/2021/11/22/akka-http-10.1.15-released
- [Vendor advisory]https://doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-user-agent.html
- [Exploit reference]http://packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.html
- [Vendor advisory]https://akka.io/blog/
- [Vendor advisory]https://akka.io/blog/news/2021/11/02/akka-http-10.2.7-released
- [Vendor advisory]https://akka.io/blog/news/2021/11/22/akka-http-10.1.15-released
- [Vendor advisory]https://doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-user-agent.html
Related CVEs
Same CWE
- CVE-2025-7010 — Stack overflow vulnerability due to uncontrolled recursion in Avast Antivirus when scanning a malformed PDF file may allow Denial-of-Serv... (5.5 MEDIUM)
- CVE-2025-7005 — Uncontrolled recursion vulnerability in Avast Antivirus when scanning a malformed Windows PE file may allow Denial-of-Service of the anti... (5.5 MEDIUM)
- CVE-2026-4870 — IBM Qiskit SDK 0.43.0 through 2.5.0 could allow an attacker to trigger a segmentation fault leading to a denial of service due to uncontr... (7.5 HIGH)
- CVE-2026-48734 — ImageMagick is free and open-source software used for editing and manipulating digital images (5.5 MEDIUM)
- CVE-2026-46557 — ImageMagick is free and open-source software used for editing and manipulating digital images (6.2 MEDIUM)