Live threats

All CVEs / Akka

CVE-2021-42697Akka Http Server

High 7.5 No auth neededHigh EPSS

Priority
64
CVSS 3.1
7.5
EPSS
35.3%
probability of exploitation in 30 days · percentile 99
Auth required
No
Published
Nov 2, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-674
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Http Server.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven com.typesafe.akka:aakka-http-core_2.13.0-M3 ≥ 10.1.0 no fixed version —
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.1.15 —
Maven com.typesafe.akka:akka-http-core_2.12 ≥ 10.2.0-M1 < 10.2.7 10.2.7 —
Maven com.typesafe.akka:akka-http-core_2.13 ≥ 10.1.0 < 10.1.15 10.1.15 —
Maven com.typesafe.akka:akka-http-core_2.13 ≥ 10.2.0-M1 < 10.2.7 10.2.7 —
Maven com.typesafe.akka:akka-http-core_2.13.0-M5 ≥ 10.1.0 no fixed version —
Maven com.typesafe.akka:akka-http-core_2.13.0-RC2 ≥ 10.1.0 no fixed version —
Maven com.typesafe.akka:akka-http-core_2.13.0-RC3 ≥ 10.1.0 no fixed version —

Per OSV / GitHub Advisories (GHSA-3hw2-h67c-wq66). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
akkahttp_server≥ 10.1.0 < 10.1.15
akkahttp_server≥ 10.2.0 < 10.2.7

Official sources

References

Links published by the sources. Open them with care.