Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2021-42697

Uncontrolled Recursion in Akka HTTP

Overview

Published
2 Nov 2021
Modified
17 Jun 2026
High CVE
7 Registry packages
0 OS packages
0 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7.5 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-674

Affected packages · 7

Packages affected by CVE-2021-42697
EcosystemPackageVulnerableFixed in
Maven com.typesafe.akka:aakka-http-core_2.13.0-m3 >=10.1.0, <10.1.15 No fix yet
Maven com.typesafe.akka:akka-http-core_2.11 >=10.1.0, <10.1.15 10.1.15
Maven com.typesafe.akka:akka-http-core_2.12 >=10.1.0, <10.1.15>=10.2.0-M1, <10.2.7 10.1.1510.2.7
Maven com.typesafe.akka:akka-http-core_2.13 >=10.1.0, <10.1.15>=10.2.0-M1, <10.2.7 10.1.1510.2.7
Maven com.typesafe.akka:akka-http-core_2.13.0-m5 >=10.1.0, <10.1.15 No fix yet
Maven com.typesafe.akka:akka-http-core_2.13.0-rc2 >=10.1.0, <10.1.15 No fix yet
Maven com.typesafe.akka:akka-http-core_2.13.0-rc3 >=10.1.0, <10.1.15 No fix yet

Open a package to see all its vulnerabilities.

Operating systems

No Linux distribution reports this ID.

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.