Improper Resource Shutdown or Release Affecting com.typesafe.akka:akka-http-core_2.12 package, versions [10.2.0-M1,10.2.7)[,10.1.15)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
26.02% (97th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-COMTYPESAFEAKKA-2336361
  • published12 Jan 2022
  • disclosed12 Jan 2022
  • creditUnknown

Introduced: 12 Jan 2022

CVE-2021-42697  (opens in a new tab)
CWE-404  (opens in a new tab)

How to fix?

Upgrade com.typesafe.akka:akka-http-core_2.12 to version 10.2.7, 10.1.15 or higher.

Overview

com.typesafe.akka:akka-http-core_2.12 is a Scala implementation of the akka-http-core library which provides a streaming-first HTTP server and client.

Affected versions of this package are vulnerable to Improper Resource Shutdown or Release which can encounter stack exhaustion while parsing HTTP headers. It allows a remote attacker to conduct a Denial of Service attack by sending a User-Agent header with deeply nested comments.

CVSS Scores

version 3.1