Vulnerability · Published Nov 2, 2021 · Assigned by mitre
CVE-2021-42697
High 7.5
In plain English
A high-severity security flaw in the com.typesafe.akka:aakka-http-core_2.13.0-M3 package (Maven). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 36.1% (higher than 98% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)36.1%top 1.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | com.typesafe.akka:aakka-http-core_2.13.0-M3 | no fix listed | GHSA-3hw2-h67c-wq66 |
| Maven | com.typesafe.akka:akka-http-core_2.11 | 10.1.15 | GHSA-3hw2-h67c-wq66 |
| Maven | com.typesafe.akka:akka-http-core_2.12 | 10.1.15 | GHSA-3hw2-h67c-wq66 |
| Maven | com.typesafe.akka:akka-http-core_2.12 | 10.2.7 | GHSA-3hw2-h67c-wq66 |
| Maven | com.typesafe.akka:akka-http-core_2.13 | 10.1.15 | GHSA-3hw2-h67c-wq66 |
| Maven | com.typesafe.akka:akka-http-core_2.13 | 10.2.7 | GHSA-3hw2-h67c-wq66 |
| Maven | com.typesafe.akka:akka-http-core_2.13.0-M5 | no fix listed | GHSA-3hw2-h67c-wq66 |
| Maven | com.typesafe.akka:akka-http-core_2.13.0-RC2 | no fix listed | GHSA-3hw2-h67c-wq66 |
| Maven | com.typesafe.akka:akka-http-core_2.13.0-RC3 | no fix listed | GHSA-3hw2-h67c-wq66 |
Affected products (as reported)
References
- https://akka.io/blog/ x_refsource_MISC
- https://doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-user-agent.html x_refsource_MISC
- https://akka.io/blog/news/2021/11/02/akka-http-10.2.7-released x_refsource_MISC
- https://akka.io/blog/news/2021/11/22/akka-http-10.1.15-released x_refsource_MISC
- http://packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.html x_refsource_MISC