cve.bz

CVE-2021-42697 akka http server: Uncontrolled Recursion

7.5 highExploitEPSS 35%Fix available

High (7.5) in akka http server. EPSS 35% estimated probability of exploitation activity in the next 30 days. Fixed in com.typesafe.akka:akka-http-core_2.13 10.1.15, 10.2.7.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
35% (unchanged from 36% a week ago; 36% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-674 Uncontrolled Recursion
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-42697 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-42697?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-42697?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-42697 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
akka:http_serverfrom 10.1.0 before 10.1.15
akka:http_serverfrom 10.2.0 before 10.2.7

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3hw2-h67c-wq66Mavencom.typesafe.akka:akka-http-core_2.13.0-RC3>=10.1.0no fix published
GHSA-3hw2-h67c-wq66Mavencom.typesafe.akka:akka-http-core_2.13.0-RC2>=10.1.0no fix published
GHSA-3hw2-h67c-wq66Mavencom.typesafe.akka:akka-http-core_2.13.0-M5>=10.1.0no fix published
GHSA-3hw2-h67c-wq66Mavencom.typesafe.akka:aakka-http-core_2.13.0-M3>=10.1.0no fix published
GHSA-3hw2-h67c-wq66Mavencom.typesafe.akka:akka-http-core_2.13>=10.1.0 <10.1.1510.1.15
GHSA-3hw2-h67c-wq66Mavencom.typesafe.akka:akka-http-core_2.13>=10.2.0-M1 <10.2.710.2.7
GHSA-3hw2-h67c-wq66Mavencom.typesafe.akka:akka-http-core_2.12>=10.1.0 <10.1.1510.1.15
GHSA-3hw2-h67c-wq66Mavencom.typesafe.akka:akka-http-core_2.12>=10.2.0-M1 <10.2.710.2.7
GHSA-3hw2-h67c-wq66Mavencom.typesafe.akka:akka-http-core_2.11>=10.1.0 <10.1.1510.1.15

Public exploits

Attack patterns (CAPEC)

  • CAPEC-230 Serialized Data with Nested Payloads Likelihood: Medium · Severity: High
  • CAPEC-231 Oversized Serialized Data Payloads Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON