GHSA-3hw2-h67c-wq66
Uncontrolled Recursion in Akka HTTP
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | com.typesafe.akka:akka-http-core_2.13.0-RC3 | < 10.1.15 | no fix listed |
| Maven | com.typesafe.akka:akka-http-core_2.13.0-RC2 | < 10.1.15 | no fix listed |
| Maven | com.typesafe.akka:akka-http-core_2.13.0-M5 | < 10.1.15 | no fix listed |
| Maven | com.typesafe.akka:aakka-http-core_2.13.0-M3 | < 10.1.15 | no fix listed |
| 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.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.11 | >= 10.1.0, < 10.1.15 | 10.1.15 |
Details
As written in the advisory (Markdown source, shown as plain text).
Akka HTTP 10.1.x 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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2021-42697
- https://github.com/akka/akka-http/pull/3924
- https://akka.io/blog
- https://akka.io/blog/news/2021/11/02/akka-http-10.2.7-released
- https://akka.io/blog/news/2021/11/22/akka-http-10.1.15-released
- https://doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-user-agent.html
- https://github.com/akka/akka-http
- http://packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.html