{"id":"PSF-2020-5","summary":"http.client: HTTP Header Injection in the HTTP method","details":"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.","aliases":["BIT-libpython-2020-26116","BIT-python-2020-26116","BIT-python-min-2020-26116","CVE-2020-26116"],"modified":"2026-05-18T05:46:52.221398672Z","published":"2020-09-27T00:00:00Z","database_specific":{"cwe_ids":[]},"references":[{"type":"REPORT","url":"https://bugs.python.org/issue39603"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python/cpython","events":[{"introduced":"0"},{"fixed":"27b811057ff5e93b68798e278c88358123efdc71"},{"fixed":"524b8de630036a29ca340bc2ae6fd6dc7dda8f40"},{"fixed":"668d321476d974c4f51476b33aaca870272523bf"},{"fixed":"8ca8a2e8fb068863c1138f07e3098478ef8be12e"},{"fixed":"ca75fec1ed358f7324272608ca952b2d8226d11a"},{"fixed":"f02de961b9f19a5db0ead56305fe0057a78787ae"}]}],"versions":["v3.5.10rc1","v3.7.8","v3.6.11","v3.6.11rc1","v3.7.8rc1","v3.9.0b3","v3.9.0b1","v3.8.3","v3.8.3rc1","v3.7.7rc1","v3.9.0a2","v3.6.10","v3.6.10rc1","v3.7.6rc1","v3.5.9","v3.5.8","v3.5.8rc2","v3.5.8rc1","v3.8.0rc1","v3.6.9","v3.6.9rc1","v3.7.3rc1","v3.5.7","v3.5.7rc1","v3.6.8","v3.7.2rc1","v3.6.8rc1","v3.5.6","v3.5.6rc1","v3.7.0rc1","v3.6.6rc1","v3.7.0b5","v3.7.0b4","v3.7.0b3","v3.7.0b2","v3.5.5","v3.5.5rc1","v3.7.0b1","v3.7.0a2","v3.5.4","v3.5.4rc1","v3.6.2rc1","v3.5.3","v3.5.3rc1","v3.6.0rc1","v3.6.0b4","v3.6.0b3","v3.6.0b1","v3.6.0a3","v3.5.2","v3.5.2rc1","v3.5.1rc1","v3.5.0rc3","v3.5.0rc2","v3.5.0rc1","v3.5.0b4","v3.5.0b3","v3.5.0b1","v3.5.0a4","v3.5.0a3","v3.5.0a2","v3.5.0a1","v3.4.0b3","v3.4.0b2","v3.4.0b1","v3.4.0a4","v3.4.0a3","v3.4.0a2","v3.4.0a1","v3.3.0rc3","v3.3.0rc2","v3.3.0rc1","v3.3.0b2","v3.3.0b1","v3.3.0a4","v3.3.0a3","v3.3.0a2","v3.2rc3","v3.2rc2","v3.2rc1","v3.2b2","v3.2b1","v3.2a4","v3.2a3","v3.2a2","v3.2a1","v3.1","v3.1rc2","v3.1rc1","v3.1b1","v3.1a2","v3.1a1","v3.0rc3","v3.0rc2","v3.0rc1","v3.0b3","v3.0b2","v3.0b1","v3.0a5","v3.0a4","v3.0a3","v3.0a2","v3.0a1","v2.4","v2.4c1","v2.4b2","v2.4b1","v2.4a3","v2.4a2","v2.4a1","v2.3c2","v2.3c1","v2.2a3","v2.1","v2.1c2","v2.1c1","v2.1b2","v2.1b1","v2.1a2","v2.1a1","v2.0","v2.0c1","v2.0b2","v2.0b1","v1.6a2","v1.6a1","v1.5.2","v1.5.2c1","v1.5.2b2","v1.5.2b1","v1.5.2a2","v1.5.2a1","v1.5.1","v1.5","v1.5b2","v1.5b1","v1.5a4","v1.5a3","v1.5a2","v1.5a1","v1.4","v1.4b3","v1.4b2","v1.4b1","v1.3","v1.3b1","v1.2","v1.2b4","v1.2b3","v1.2b2","v1.2b1","v1.1.1","v1.1","v1.0.2","v1.0.1","v0.9.9","v0.9.8"],"database_specific":{"source":"https://github.com/psf/advisory-database/blob/main/advisories/python/PSF-2020-5.json"}}],"schema_version":"1.7.5"}