Original description
http.client in Python 3.x before 3.5.10, 3.6.x before 3.6.12, 3.7.x before 3.7.9, and 3.8.x before 3.8.5 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of HTTPConnection.request.
Affected software
- Python ≥ 3.6.0 < 3.6.12≥ 3.8.0 < 3.8.5≥ 3.7.0 < 3.7.9≥ 3.0.0 < 3.5.10 Fixed in: 3.6.12, 3.8.5, 3.7.9, 3.5.10 exact match
Details
- Published
- 2020-09-27
- Last modified
- 2026-10-14
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N- EPSS (30-day exploit probability)
- 6.36% (percentile 94)
References
- cve.org/CVE-2020-26116
- nvd.nist.gov/vuln/detail/CVE-2020-26116
- python-security.readthedocs.io/vuln/http-header-injection-method.html
- bugs.python.org/issue39603
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O...
- usn.ubuntu.com/4581-1/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/H...
- lists.opensuse.org/opensuse-security-announce/2020-11/msg00027.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q...
- lists.debian.org/debian-lts-announce/2020/11/msg00032.html
- security.gentoo.org/glsa/202101-18
- www.oracle.com/security-alerts/cpuoct2021.html
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.