CVE-2020-10108
Python vulnerability analysis and mitigation

Overview

In Twisted Web through version 19.10.0, a critical HTTP request splitting vulnerability was discovered. When presented with two content-length headers, the application ignored the first header and when the second content-length value was set to zero, the request body was interpreted as a pipelined request (Bishop Fox Advisory, NVD). The vulnerability was assigned CVE-2020-10108 with a CVSS v3.1 base score of 9.8 (CRITICAL).

Technical details

The vulnerability stems from deviations from RFC 7230 (HTTP/1.1: Message Syntax and Routing). According to RFC 7230 Section 3.3.3#4, if a message is received with multiple content-length headers with differing values, the server must reject the message with a 400 response. However, Twisted Web failed to implement this requirement, instead ignoring the first content-length header and processing the second one, which could lead to request smuggling when the second content-length was set to zero (Bishop Fox Advisory).

Impact

Request smuggling vulnerabilities are considered high-risk and can lead to various severe outcomes, including cache poisoning, session hijacking via socket poisoning, and security filter bypasses. The actual impact varies depending on where and how Twisted is deployed in a given environment and the business purpose of the service designed with Twisted (Bishop Fox Advisory).

Mitigation and workarounds

The vulnerability was patched in Twisted version 20.3.0rc1, released on March 9, 2020. Users are strongly advised to upgrade to this version or later to address the security issue. Multiple Linux distributions have also released security updates to address this vulnerability, including Ubuntu, Debian, and Fedora (Ubuntu Advisory, Debian Advisory, Fedora Update).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22871HIGH8.7
  • PythonPython
  • guarddog
NoYesJan 13, 2026
GHSA-58pv-8j8x-9vj2HIGH8.6
  • PythonPython
  • jaraco.context
NoYesJan 13, 2026
CVE-2026-22779MEDIUM6.3
  • PythonPython
  • blacksheep
NoYesJan 14, 2026
CVE-2026-21889LOW2.3
  • PythonPython
  • weblate
NoYesJan 14, 2026
CVE-2025-68492LOW2.3
  • PythonPython
  • chainlit
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management