CVE-2021-42697
CVE-2021-42697 affects Akka HTTP Server (CVSS 7.5, High).
Public exploit available. Not confirmed exploited in the wild yet. Fixed in 10.1.15.
Public exploit: 1 sourceFix10.1.15Upgrade to this build
e.g. Akka HTTP Header Parsing DoS
What to do
Find your product and version, then upgrade to the build on the right.
- Maven com.typesafe.akka:akka-http-core_2.13.0-RC3Affected: 10.1.0Upgrade to: not statedStated by: GitHub advisory
- Maven com.typesafe.akka:akka-http-core_2.13.0-RC2Affected: 10.1.0Upgrade to: not statedStated by: GitHub advisory
- Maven com.typesafe.akka:akka-http-core_2.13.0-M5Affected: 10.1.0Upgrade to: not statedStated by: GitHub advisory
- Maven com.typesafe.akka:aakka-http-core_2.13.0-M3Affected: 10.1.0Upgrade to: not statedStated by: GitHub advisory
- Maven com.typesafe.akka:akka-http-core_2.13Affected: ≥ 10.1.0, < 10.1.15Upgrade to: 10.1.15Stated by: GitHub advisory
Versions as the sources state them. 3 more products have version data. Full version matrix after sign-in
What it is
From the CVE record
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.
In plain language
No plain-language summary for this CVE yet.
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
1 source with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
35% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 471 days before any public exploit.
- EPSS band changehigh → moderate
- Public exploit / PoCsource: packetstormnuclei check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
- com.typesafe.akka:akka-http-core_2.13.0-RC3OSS Libraries
- com.typesafe.akka:akka-http-core_2.13.0-RC2OSS Libraries
- com.typesafe.akka:akka-http-core_2.13.0-M5OSS Libraries
- com.typesafe.akka:aakka-http-core_2.13.0-M3OSS Libraries
- com.typesafe.akka:akka-http-core_2.13OSS Libraries
- com.typesafe.akka:akka-http-core_2.12OSS Libraries
- com.typesafe.akka:akka-http-core_2.11OSS Libraries
And 1 more affected product. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored 7.5 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality NoneNo confidentiality impact
- Integrity NoneNo integrity impact
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- akka.io/blog/
- doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-user-agent.html
- akka.io/blog/news/2021/11/02/akka-http-10.2.7-released
And 6 more references. See all after sign-in
Questions about CVE-2021-42697
- Is CVE-2021-42697 being exploited?
- Not confirmed. Public exploit code exists (1 source), but CVE-2021-42697 is not in CISA KEV. EPSS puts the chance of exploitation in the next 30 days at 35%.
- Which versions are affected by CVE-2021-42697?
- com.typesafe.akka:akka-http-core_2.13.0-RC3: 10.1.0. com.typesafe.akka:akka-http-core_2.13.0-RC2: 10.1.0. com.typesafe.akka:akka-http-core_2.13.0-M5: 10.1.0. 5 more products are listed in the record.
- How do I fix or mitigate CVE-2021-42697?
- Upgrade to 10.1.15 or later. The advisory is on doc.akka.io.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Maven, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI