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
http://packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.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
https://doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-user-agent.html
Related Vulnerabilities
CVE-2020-7746 Vulnerability in maven package org.webjars.bower:chart.js
CVE-2016-10540 Vulnerability in maven package org.webjars:minimatch
CVE-2018-16487 Vulnerability in npm package lodash.mergewith
CVE-2019-10249 Vulnerability in maven package org.eclipse.xtext:org.eclipse.xtext.maven.parent
CVE-2023-42278 Vulnerability in maven package cn.hutool:hutool-json