twistedmatrix twisted CVE-2022-24801 vulnerability in Twistedmatrix and Other Products
Published on April 4, 2022

HTTP Request Smuggling in twisted.web

product logo product logo product logo product logo
Twisted is an event-based framework for internet applications, supporting Python 3.6+. Prior to version 22.4.0rc1, the Twisted Web HTTP 1.1 server, located in the `twisted.web.http` module, parsed several HTTP request constructs more leniently than permitted by RFC 7230. This non-conformant parsing can lead to desync if requests pass through multiple HTTP parsers, potentially resulting in HTTP request smuggling. Users who may be affected use Twisted Web's HTTP 1.1 server and/or proxy and also pass requests through a different HTTP server and/or proxy. The Twisted Web client is not affected. The HTTP 2.0 server uses a different parser, so it is not affected. The issue has been addressed in Twisted 22.4.0rc1. Two workarounds are available: Ensure any vulnerabilities in upstream proxies have been addressed, such as by upgrading them; or filter malformed requests by other means, such as configuration of an upstream proxy.

Github Repository Vendor Advisory Vendor Advisory NVD

Vulnerability Analysis

CVE-2022-24801 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.

Attack Vector:
NETWORK
Attack Complexity:
HIGH
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH

Weakness Type

What is a HTTP Request Smuggling Vulnerability?

When malformed or abnormal HTTP requests are interpreted by one or more entities in the data flow between the user and the web server, such as a proxy or firewall, they can be interpreted inconsistently, allowing the attacker to "smuggle" a request to one device without the other device being aware of it.

CVE-2022-24801 has been classified to as a HTTP Request Smuggling vulnerability or weakness.


Products Associated with CVE-2022-24801

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2022-24801 are published in these products:

 
 
 
 
 

Affected Versions

twisted Version <= 22.2.0 is affected by CVE-2022-24801

Vulnerable Packages

The following package name and versions may be associated with CVE-2022-24801

Package Manager Vulnerable Package Versions Fixed In
pip twisted <= 22.2.0 22.4.0rc1

Exploit Probability

EPSS
1.15%
Percentile
78.14%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.