Client hang via unbounded interim header reads
Published Mar 4, 2022 · Updated Dec 17, 2025
Denial of service in CPython allows remote attackers controlling an HTTP server to hang an HTTP client with a crafted response. HTTPResponse.begin() repeatedly reads header lines after a 100 Continue response without enforcing the normal total-header limit. The client must request an attacker-controlled HTTP, HTTPS, or FTP service; a stream of short header lines consumes CPU and network bandwidth and keeps the client hung even when a timeout is set.
Summary
What happened
Denial of service in CPython allows remote attackers controlling an HTTP server to hang an HTTP client with a crafted response. HTTPResponse.begin() repeatedly reads header lines after a 100 Continue response without enforcing the normal total-header limit. The client must request an attacker-controlled HTTP, HTTPS, or FTP service; a stream of short header lines consumes CPU and network bandwidth and keeps the client hung even when a timeout is set.
The record
- CVE
- CVE-2021-3737
- Published
- Mar 4, 2022
- Updated
- Dec 17, 2025
- Vendor
- Python Software Foundation
- Product
- CPython
- Classifications
- CWE-400, CWE-835, T1499.004
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 4, 2022CVE publishedPublication date reported by the CVE source.
- Dec 17, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=Fixed in python v3.6.14, python v3.7.11, python v3.8.11, python v3.9.6, python v3.10.0b2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo