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.
Remediation
References
https://doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-user-agent.html
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
http://packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.html
Related Vulnerabilities
CVE-2022-28730 Vulnerability in maven package org.apache.jspwiki:jspwiki-war
CVE-2021-33502 Vulnerability in npm package normalize-url
CVE-2015-0226 Vulnerability in maven package org.apache.ws.security:wss4j
CVE-2020-2264 Vulnerability in maven package org.jenkins-ci.plugins:custom-job-icon
CVE-2023-49798 Vulnerability in npm package @openzeppelin/contracts-upgradeable