GHSA-3HW2-H67C-WQ66
Vulnerability from github – Published: 2022-05-24 19:19 – Updated: 2025-09-30 17:57
VLAI?
Summary
Uncontrolled Recursion in Akka HTTP
Details
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.
Severity ?
7.5 (High)
{
"affected": [
{
"database_specific": {
"last_known_affected_version_range": "\u003c 10.1.15"
},
"package": {
"ecosystem": "Maven",
"name": "com.typesafe.akka:akka-http-core_2.13.0-RC3"
},
"ranges": [
{
"events": [
{
"introduced": "10.1.0"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"database_specific": {
"last_known_affected_version_range": "\u003c 10.1.15"
},
"package": {
"ecosystem": "Maven",
"name": "com.typesafe.akka:akka-http-core_2.13.0-RC2"
},
"ranges": [
{
"events": [
{
"introduced": "10.1.0"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"database_specific": {
"last_known_affected_version_range": "\u003c 10.1.15"
},
"package": {
"ecosystem": "Maven",
"name": "com.typesafe.akka:akka-http-core_2.13.0-M5"
},
"ranges": [
{
"events": [
{
"introduced": "10.1.0"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"database_specific": {
"last_known_affected_version_range": "\u003c 10.1.15"
},
"package": {
"ecosystem": "Maven",
"name": "com.typesafe.akka:aakka-http-core_2.13.0-M3"
},
"ranges": [
{
"events": [
{
"introduced": "10.1.0"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "Maven",
"name": "com.typesafe.akka:akka-http-core_2.13"
},
"ranges": [
{
"events": [
{
"introduced": "10.1.0"
},
{
"fixed": "10.1.15"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "Maven",
"name": "com.typesafe.akka:akka-http-core_2.13"
},
"ranges": [
{
"events": [
{
"introduced": "10.2.0-M1"
},
{
"fixed": "10.2.7"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "Maven",
"name": "com.typesafe.akka:akka-http-core_2.12"
},
"ranges": [
{
"events": [
{
"introduced": "10.1.0"
},
{
"fixed": "10.1.15"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "Maven",
"name": "com.typesafe.akka:akka-http-core_2.12"
},
"ranges": [
{
"events": [
{
"introduced": "10.2.0-M1"
},
{
"fixed": "10.2.7"
}
],
"type": "ECOSYSTEM"
}
]
},
{
"package": {
"ecosystem": "Maven",
"name": "com.typesafe.akka:akka-http-core_2.11"
},
"ranges": [
{
"events": [
{
"introduced": "10.1.0"
},
{
"fixed": "10.1.15"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2021-42697"
],
"database_specific": {
"cwe_ids": [
"CWE-674",
"CWE-787"
],
"github_reviewed": true,
"github_reviewed_at": "2022-06-21T20:08:40Z",
"nvd_published_at": "2021-11-02T22:15:00Z",
"severity": "HIGH"
},
"details": "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.",
"id": "GHSA-3hw2-h67c-wq66",
"modified": "2025-09-30T17:57:30Z",
"published": "2022-05-24T19:19:40Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-42697"
},
{
"type": "WEB",
"url": "https://github.com/akka/akka-http/pull/3924"
},
{
"type": "WEB",
"url": "https://akka.io/blog"
},
{
"type": "WEB",
"url": "https://akka.io/blog/news/2021/11/02/akka-http-10.2.7-released"
},
{
"type": "WEB",
"url": "https://akka.io/blog/news/2021/11/22/akka-http-10.1.15-released"
},
{
"type": "WEB",
"url": "https://doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-user-agent.html"
},
{
"type": "PACKAGE",
"url": "https://github.com/akka/akka-http"
},
{
"type": "WEB",
"url": "http://packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.html"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
}
],
"summary": "Uncontrolled Recursion in Akka HTTP"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…