CVE-2021-42697Published Nov 2, 2021 · Nov 2Updated Oct 24
Uncontrolled Recursion in Akka HTTP
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| com.typesafe.akka:akka-http-core_2.13.0-RC3 Maven |
| No fix yet |
| com.typesafe.akka:akka-http-core_2.13.0-RC2 Maven |
| No fix yet |
| com.typesafe.akka:akka-http-core_2.13.0-M5 Maven |
| No fix yet |
| com.typesafe.akka:aakka-http-core_2.13.0-M3 Maven |
| No fix yet |
| com.typesafe.akka:akka-http-core_2.13 Maven |
|
|
| com.typesafe.akka:akka-http-core_2.12 Maven |
|
|
| com.typesafe.akka:akka-http-core_2.11 Maven |
|
|
Original 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.
From the CVE record · mitre
References
- akka.io/blogVendor advisory
- doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-user-agent.htmlVendor advisory
- akka.io/blog/news/2021/11/02/akka-http-10.2.7-releasedVendor advisory
- akka.io/blog/news/2021/11/22/akka-http-10.1.15-releasedVendor advisory
- packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.htmlExploit
- nvd.nist.gov/vuln/detail/CVE-2021-42697
- github.com/akka/akka-http/pull/3924
- akka.io/blog
- github.com/akka/akka-http