CVE-2021-42697
Akka Http Server vulnerability
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 products
Http Server. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Akka Http Server runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- akka.io/blog/ · Vendor Advisory
- akka.io/blog/news/2021/11/02/akka-http-10.2.7-released · Vendor Advisory
- akka.io/blog/news/2021/11/22/akka-http-10.1.15-released · Vendor Advisory
- doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-use · Vendor Advisory
- packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.html · Exploit
- nvd.nist.gov/vuln/detail/CVE-2021-42697
- github.com/akka/akka-http/pull/3924
- akka.io/blog
- nvd.nist.gov/vuln/detail/CVE-2021-42697
- cve.org/CVERecord?id=CVE-2021-42697
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.