HIGH 7.5

CVE-2021-42697

Uncontrolled Recursion in Akka HTTP

Description

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.

Affected Maven artifacts (7)

ArtifactAffected versionsFixed in
com.typesafe.akka » aakka-http-core_2.13.0-M3
>= 10.1.0
-
com.typesafe.akka » akka-http-core_2.11
>= 10.1.0, < 10.1.15
10.1.15
com.typesafe.akka » akka-http-core_2.12
>= 10.1.0, < 10.1.15>= 10.2.0-M1, < 10.2.7
10.1.15, 10.2.7
com.typesafe.akka » akka-http-core_2.13
>= 10.1.0, < 10.1.15>= 10.2.0-M1, < 10.2.7
10.1.15, 10.2.7
com.typesafe.akka » akka-http-core_2.13.0-M5
>= 10.1.0
-
com.typesafe.akka » akka-http-core_2.13.0-RC2
>= 10.1.0
-
com.typesafe.akka » akka-http-core_2.13.0-RC3
>= 10.1.0
-

Blast radius

1affected artifacts
60affected versions
2,403dependent artifacts (est.)
101,018dependent versions

75% of the dependent artifacts (1,817) still pull an affected version in their latest release.

DepthDependent versions
Direct
3,557
2 hops
54,857
3 hops
24,830
4 hops
9,796
5 hops
4,837
6 hops
3,141

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.