7.5
HIGH
CVE-2021-42697
Akka HTTP HTTP Header Comment Injection Denial of Service Vulnerability
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.

INFO

Published Date :

Nov. 2, 2021, 10:15 p.m.

Last Modified :

June 13, 2022, 3:41 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2021-42697 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-42697 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Akka http_server
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-42697.

URL Resource
http://packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.html Exploit Third Party Advisory VDB Entry
https://akka.io/blog/ Vendor Advisory
https://akka.io/blog/news/2021/11/02/akka-http-10.2.7-released Release Notes Vendor Advisory
https://akka.io/blog/news/2021/11/22/akka-http-10.1.15-released Release Notes Vendor Advisory
https://doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-user-agent.html Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

All CVE - PoC in GitHub

poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate

Updated: 3 weeks, 3 days ago
5 stars 2 fork 2 watcher
Born at : March 22, 2024, 3:58 p.m. This repo has been linked 928 different CVEs too.

None

Updated: 6 months, 1 week ago
1 stars 0 fork 0 watcher
Born at : March 11, 2024, 1:21 p.m. This repo has been linked 930 different CVEs too.

None

Updated: 7 months ago
2 stars 2 fork 2 watcher
Born at : Nov. 25, 2022, 5:43 p.m. This repo has been linked 930 different CVEs too.

Proof of concept exploit for CVE-2021-42697: 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.

Python Scala

Updated: 2 years, 4 months ago
1 stars 0 fork 0 watcher
Born at : April 24, 2022, 5:51 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-42697 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-42697 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Jun. 13, 2022

    Action Type Old Value New Value
    Changed Reference Type http://packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.html Exploit, Third Party Advisory http://packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.html Exploit, Third Party Advisory, VDB Entry
    Changed CPE Configuration OR *cpe:2.3:a:akka:http_server:*:*:*:*:*:*:*:* versions from (including) 10.1.0 up to (excluding) 10.1.5 *cpe:2.3:a:akka:http_server:*:*:*:*:*:*:*:* versions from (including) 10.2.0 up to (excluding) 10.2.7 OR *cpe:2.3:a:akka:http_server:*:*:*:*:*:*:*:* versions from (including) 10.1.0 up to (excluding) 10.1.15 *cpe:2.3:a:akka:http_server:*:*:*:*:*:*:*:* versions from (including) 10.2.0 up to (excluding) 10.2.7
  • Modified Analysis by [email protected]

    Jun. 03, 2022

    Action Type Old Value New Value
    Changed Reference Type http://packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.html No Types Assigned http://packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.html Exploit, Third Party Advisory
    Changed Reference Type https://akka.io/blog/news/2021/11/22/akka-http-10.1.15-released No Types Assigned https://akka.io/blog/news/2021/11/22/akka-http-10.1.15-released Release Notes, Vendor Advisory
    Changed CPE Configuration OR *cpe:2.3:a:akka:http_server:*:*:*:*:*:*:*:* versions from (including) 10.1.0 up to (excluding) 10.2.7 OR *cpe:2.3:a:akka:http_server:*:*:*:*:*:*:*:* versions from (including) 10.1.0 up to (excluding) 10.1.5 *cpe:2.3:a:akka:http_server:*:*:*:*:*:*:*:* versions from (including) 10.2.0 up to (excluding) 10.2.7
  • CVE Modified by [email protected]

    May. 11, 2022

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/167018/Akka-HTTP-10.1.14-Denial-Of-Service.html [No Types Assigned]
  • CWE Remap by [email protected]

    May. 03, 2022

    Action Type Old Value New Value
    Changed CWE CWE-787 CWE-674
  • CVE Modified by [email protected]

    Apr. 15, 2022

    Action Type Old Value New Value
    Changed 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. 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.
    Added Reference https://akka.io/blog/news/2021/11/22/akka-http-10.1.15-released [No Types Assigned]
  • Initial Analysis by [email protected]

    Nov. 04, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://akka.io/blog/ No Types Assigned https://akka.io/blog/ Vendor Advisory
    Changed Reference Type https://akka.io/blog/news/2021/11/02/akka-http-10.2.7-released No Types Assigned https://akka.io/blog/news/2021/11/02/akka-http-10.2.7-released Release Notes, Vendor Advisory
    Changed Reference Type https://doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-user-agent.html No Types Assigned https://doc.akka.io/docs/akka-http/current/security/2021-CVE-2021-42697-stack-overflow-parsing-user-agent.html Vendor Advisory
    Added CWE NIST CWE-787
    Added CPE Configuration OR *cpe:2.3:a:akka:http_server:*:*:*:*:*:*:*:* versions from (including) 10.1.0 up to (excluding) 10.2.7
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-42697 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-42697 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

6.58 }} 1.31%

score

0.93914

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability