{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-42697","id":"CVE-2021-42697","title":"Uncontrolled Recursion in Akka HTTP","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.","descriptionLong":"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.","published":"2021-11-02T21:44:54.000Z","updated":"2026-10-24T10:30:16.106179602Z","reserved":"2021-10-18T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"com.typesafe.akka:akka-http-core_2.13.0-RC3","purl":"pkg:maven/com.typesafe.akka/akka-http-core_2.13.0-RC3","ranges":[">=10.1.0"],"fixed":[],"advisory":"GHSA-3hw2-h67c-wq66"},{"ecosystem":"Maven","name":"com.typesafe.akka:akka-http-core_2.13.0-RC2","purl":"pkg:maven/com.typesafe.akka/akka-http-core_2.13.0-RC2","ranges":[">=10.1.0"],"fixed":[],"advisory":"GHSA-3hw2-h67c-wq66"},{"ecosystem":"Maven","name":"com.typesafe.akka:akka-http-core_2.13.0-M5","purl":"pkg:maven/com.typesafe.akka/akka-http-core_2.13.0-M5","ranges":[">=10.1.0"],"fixed":[],"advisory":"GHSA-3hw2-h67c-wq66"},{"ecosystem":"Maven","name":"com.typesafe.akka:aakka-http-core_2.13.0-M3","purl":"pkg:maven/com.typesafe.akka/aakka-http-core_2.13.0-M3","ranges":[">=10.1.0"],"fixed":[],"advisory":"GHSA-3hw2-h67c-wq66"},{"ecosystem":"Maven","name":"com.typesafe.akka:akka-http-core_2.13","purl":"pkg:maven/com.typesafe.akka/akka-http-core_2.13","ranges":[">=10.1.0 <10.1.15",">=10.2.0-M1 <10.2.7"],"fixed":["10.1.15","10.2.7"],"advisory":"GHSA-3hw2-h67c-wq66"},{"ecosystem":"Maven","name":"com.typesafe.akka:akka-http-core_2.12","purl":"pkg:maven/com.typesafe.akka/akka-http-core_2.12","ranges":[">=10.1.0 <10.1.15",">=10.2.0-M1 <10.2.7"],"fixed":["10.1.15","10.2.7"],"advisory":"GHSA-3hw2-h67c-wq66"},{"ecosystem":"Maven","name":"com.typesafe.akka:akka-http-core_2.11","purl":"pkg:maven/com.typesafe.akka/akka-http-core_2.11","ranges":[">=10.1.0 <10.1.15"],"fixed":["10.1.15"],"advisory":"GHSA-3hw2-h67c-wq66"}],"cwes":["CWE-674","CWE-787"],"aliases":["GHSA-3hw2-h67c-wq66"],"references":[{"url":"https://akka.io/blog/","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory"]},{"url":"https://doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-user-agent.html","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://akka.io/blog/news/2021/11/02/akka-http-10.2.7-released","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","advisory","web"]},{"url":"https://akka.io/blog/news/2021/11/22/akka-http-10.1.15-released","tags":["x_refsource_MISC","x_transferred","Release Notes","Vendor Advisory","advisory","web"]},{"url":"http://packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42697","tags":["advisory"]},{"url":"https://github.com/akka/akka-http/pull/3924","tags":["web"]},{"url":"https://akka.io/blog","tags":["web"]},{"url":"https://github.com/akka/akka-http","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.35322,"epssPercentile":0.9848,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-42697","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42697","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-42697","ok":true,"note":"7 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3hw2-h67c-wq66","ok":true,"note":"GHSA-3hw2-h67c-wq66"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-42697","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 35% with CVSS 7.5"],"attention":null}