CVE-2021-42697
| Severity | 7.5 High CVSS 3.1 2 scores |
|---|---|
| Fixed in | 10.1.15, 10.2.7 |
| Weakness | Out-of-bounds write (CWE-787) |
| Published | 2 Nov 2021 |
| Updated | 17 Jun 2026 |
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.
CWE-674
Exploitation status
Working exploit published
A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment no assessment published
- Indexed PoC 2 indexed Published artifacts you can open, in Exploit-DB, GitHub PoC; first seen 2022-04-24.
- EPSS 36% chance in 30 days A model's forecast, not a report of exploitation. Higher than 98% of all scored CVEs.
Waratek protection
A kind of vulnerability Waratek's rules address, with exploit code published or exploitation reported. No rule exists and none is planned yet. The decision below says what we found to build a rule from.
- Protection none
- Action unverified
- Review automated Inferred
- Record active
| Decided by | The affected package being open source on Maven, so the fix can be read |
|---|---|
| Finding | This CVE affects an open-source Java library published on Maven Central (Maven packages: com.typesafe.akka:akka-http-core_2.13.0-RC3, com.typesafe.akka:akka-http-core_2.13.0-RC2, com.typesafe.akka:akka-http-core_2.13.0-M5, com.typesafe.akka:aakka-http-core_2.13.0-M3, com.typesafe.akka:akka-http-core_2.13, com.typesafe.akka:akka-http-core_2.12, com.typesafe.akka:akka-http-core_2.11), so it is squarely in ARMR's territory and the source needed to understand the defect is public. That makes it a candidate for an ARMR patch rule. No rule exists and none is scheduled: the diff between the affected and fixed versions has not been read, and a closer look may find no hook point ARMR can act on. |
CVSS
7.5 HIGH
v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
2 metrics
CVSS
7.5 HIGH v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
NVD | Primary | published |
| CVSS 2.0 | 5.0 | none | AV:N/AC:L/Au:N/C:N/I:N/A:P |
NVD | Primary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
com.typesafe.akka:akka-http-core_2.13.0-RC3 |
10.1.0 | none | unbounded |
com.typesafe.akka:akka-http-core_2.13.0-RC2 |
10.1.0 | none | unbounded |
com.typesafe.akka:akka-http-core_2.13.0-M5 |
10.1.0 | none | unbounded |
com.typesafe.akka:aakka-http-core_2.13.0-M3 |
10.1.0 | none | unbounded |
com.typesafe.akka:akka-http-core_2.13 |
10.1.0 | 10.1.15 |
unbounded |
com.typesafe.akka:akka-http-core_2.13 |
10.2.0-M1 | 10.2.7 |
unbounded |
com.typesafe.akka:akka-http-core_2.12 |
10.1.0 | 10.1.15 |
unbounded |
com.typesafe.akka:akka-http-core_2.12 |
10.2.0-M1 | 10.2.7 |
unbounded |
com.typesafe.akka:akka-http-core_2.11 |
10.1.0 | 10.1.15 |
unbounded |
Products and versions
8 products, 11 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | akka | http server | generic | ≥ 10.1.0 and < 10.1.15 · ≥ 10.2.0 and < 10.2.7 |
| osv | com.typesafe.akka | aakka-http-core_2.13.0-M3 | generic | ≥ 10.1.0 |
| osv | com.typesafe.akka | akka-http-core_2.11 | generic | ≥ 10.1.0 and < 10.1.15 |
| osv | com.typesafe.akka | akka-http-core_2.12 | generic | ≥ 10.1.0 and < 10.1.15 · ≥ 10.2.0 and < 10.2.7 |
| osv | com.typesafe.akka | akka-http-core_2.13 | generic | ≥ 10.1.0 and < 10.1.15 · ≥ 10.2.0 and < 10.2.7 |
| osv | com.typesafe.akka | akka-http-core_2.13.0-M5 | generic | ≥ 10.1.0 |
| osv | com.typesafe.akka | akka-http-core_2.13.0-RC2 | generic | ≥ 10.1.0 |
| osv | com.typesafe.akka | akka-http-core_2.13.0-RC3 | generic | ≥ 10.1.0 |
References
Timeline
Timeline
| Published | 2021-11-02 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |