CVE-2021-42697
JSON

7.5high

Uncontrolled Recursion in Akka HTTP

Severity
7.5high CVSS:3.1 by NVD
Exploit likelihood
35.3% (higher than 98% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-3hw2-h67c-wq66

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
com.typesafe.akka:akka-http-core_2.13.0-RC3 (Maven)from 10.1.0GitHub Advisory Database
com.typesafe.akka:akka-http-core_2.13.0-RC2 (Maven)from 10.1.0GitHub Advisory Database
com.typesafe.akka:akka-http-core_2.13.0-M5 (Maven)from 10.1.0GitHub Advisory Database
com.typesafe.akka:aakka-http-core_2.13.0-M3 (Maven)from 10.1.0GitHub Advisory Database
com.typesafe.akka:akka-http-core_2.13 (Maven)from 10.1.0 before 10.1.15, from 10.2.0-M1 before 10.2.7GitHub Advisory Database
com.typesafe.akka:akka-http-core_2.12 (Maven)from 10.1.0 before 10.1.15, from 10.2.0-M1 before 10.2.7GitHub Advisory Database
com.typesafe.akka:akka-http-core_2.11 (Maven)from 10.1.0 before 10.1.15GitHub Advisory Database
akka http_serverfrom 10.1.0 before 10.1.15, from 10.2.0 before 10.2.7NVD

All scores

GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

Akka HTTP 10.1.x antes de 10.1.15 y 10.2.x antes de 10.2.7 pueden encontrar agotamiento de la pila mientras analizan las cabeceras HTTP, lo que permite a un atacante remoto llevar a cabo un ataque de denegación de servicio mediante el envío de una cabecera User-Agent con comentarios profundamente anidados

References

Sources

SourceRecordLicence
CVE ListCVE-2021-42697 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-3hw2-h67c-wq66 changed 2025-09-30CC-BY-4.0
NVDCVE-2021-42697 changed 2026-06-17Public domain