CVE-2021-42697
Uncontrolled Recursion in Akka HTTP
Overview
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: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-674
Affected packages · 7
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | com.typesafe.akka:aakka-http-core_2.13.0-m3 | >=10.1.0, <10.1.15 | No fix yet |
| 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.2.0-M1, <10.2.7 | 10.1.1510.2.7 |
| Maven | com.typesafe.akka:akka-http-core_2.13 | >=10.1.0, <10.1.15>=10.2.0-M1, <10.2.7 | 10.1.1510.2.7 |
| Maven | com.typesafe.akka:akka-http-core_2.13.0-m5 | >=10.1.0, <10.1.15 | No fix yet |
| Maven | com.typesafe.akka:akka-http-core_2.13.0-rc2 | >=10.1.0, <10.1.15 | No fix yet |
| Maven | com.typesafe.akka:akka-http-core_2.13.0-rc3 | >=10.1.0, <10.1.15 | No fix yet |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- packetstormsecurity.com http://packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.html
- akka.io https://akka.io/blog
- akka.io https://akka.io/blog/
- akka.io https://akka.io/blog/news/2021/11/02/akka-http-10.2.7-released
- akka.io https://akka.io/blog/news/2021/11/22/akka-http-10.1.15-released
- doc.akka.io https://doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-user-agent.html
- github.com https://github.com/akka/akka-http
- github.com https://github.com/akka/akka-http/pull/3924
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-42697
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.