CVE-2020-26116

python: CRLF injection via HTTP request method in httplib/http.client

Published Sep 27, 2020 CVSS 3.1 · 7.2 High EPSS 6.4% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2456-1 python3.5 security update
Debian DLA Debian DLA DLA-3432-1 python2.7 security update
Debian DLA Debian DLA DLA-3610-1 python-urllib3 security update
EUVD EUVD EUVD-2020-18746 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.
Ubuntu USN Ubuntu USN USN-4581-1 Python vulnerability
Ubuntu USN Ubuntu USN USN-4754-3 Python vulnerabilities
Ubuntu USN Ubuntu USN USN-6891-1 Python vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses
  • CWE-113

    Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')

  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 14, 2026, 9:35 AM
Reserved
Sep 27, 2020, 12:00 AM
Status
Modified
Published
Sep 27, 2020, 4:15 AM
Modified
Oct 14, 2026, 10:17 AM
Severity
Moderate
Public date
Feb 10, 2020, 12:00 AM