CVE-2021-42697Akka Http Server
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Akka · Akka Http Server We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 7.5
- EPSS
- 35.3% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Nov 2, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-674
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Http Server.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.typesafe.akka:aakka-http-core_2.13.0-M3 |
≥ 10.1.0 |
no fixed version | — |
| Maven | com.typesafe.akka:akka-http-core_2.11 |
≥ 10.1.0 < 10.1.15 |
10.1.15 |
— |
| Maven | com.typesafe.akka:akka-http-core_2.12 |
≥ 10.1.0 < 10.1.15 |
10.1.15 |
— |
| Maven | com.typesafe.akka:akka-http-core_2.12 |
≥ 10.2.0-M1 < 10.2.7 |
10.2.7 |
— |
| Maven | com.typesafe.akka:akka-http-core_2.13 |
≥ 10.1.0 < 10.1.15 |
10.1.15 |
— |
| Maven | com.typesafe.akka:akka-http-core_2.13 |
≥ 10.2.0-M1 < 10.2.7 |
10.2.7 |
— |
| Maven | com.typesafe.akka:akka-http-core_2.13.0-M5 |
≥ 10.1.0 |
no fixed version | — |
| Maven | com.typesafe.akka:akka-http-core_2.13.0-RC2 |
≥ 10.1.0 |
no fixed version | — |
| Maven | com.typesafe.akka:akka-http-core_2.13.0-RC3 |
≥ 10.1.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-3hw2-h67c-wq66). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| akka | http_server | ≥ 10.1.0 < 10.1.15 |
| akka | http_server | ≥ 10.2.0 < 10.2.7 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- akka.io Vendor Advisory
- akka.io Release Notes Vendor Advisory
- akka.io Release Notes Vendor Advisory
- doc.akka.io Vendor Advisory