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…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 17 fixed, 4 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 14
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | 3.0.0 to before 3.5.10; 3.6.0 to before 3.6.12; 3.7.0 to before 3.7.9; 3.8.0 to before 3.8.5 | Vulnerable | python-pillow |
| cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* | 31 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | 32 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 33 | Vulnerable | Fedoraproject |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:* | not specified by NVD | Running on | NetApp |
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:* Versions 3.0.0 to before 3.5.10; 3.6.0 to before 3.6.12; 3.7.0 to before 3.7.9; 3.8.0 to before 3.8.5 Vulnerable ·python-pillow
- cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* Versions 31 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* Versions 32 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·NetApp
Show 4 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:h:netapp:hci_storage_node:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:* | 8.8 | Vulnerable | Oracle |
| cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* | 15.1 | Vulnerable | openSUSE |
- cpe:2.3:h:netapp:hci_storage_node:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:* Versions 8.8 Vulnerable ·Oracle
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* Versions 15.1 Vulnerable ·openSUSE
Remediation
Red Hat 8 advisories
- RHSA-2022:5235 Released 2022-06-28 · Red Hat rating Moderatepython security update
- Red Hat Enterprise Linux Client (v. 7) python-2.7.5-92.el7_9, python-libs-2.7.5-92.el7_9
- Red Hat Enterprise Linux Client Optional (v. 7) python-debug-2.7.5-92.el7_9, python-devel-2.7.5-92.el7_9, python-test-2.7.5-92.el7_9 +2
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) python-debug-2.7.5-92.el7_9, python-test-2.7.5-92.el7_9, python-tools-2.7.5-92.el7_9 +1
- Red Hat Enterprise Linux Server (v. 7) python-2.7.5-92.el7_9, python-devel-2.7.5-92.el7_9, python-libs-2.7.5-92.el7_9 +1
- Red Hat Enterprise Linux Server Optional (v. 7) python-debug-2.7.5-92.el7_9, python-test-2.7.5-92.el7_9, python-tools-2.7.5-92.el7_9 +1
- Red Hat Enterprise Linux Workstation (v. 7) python-2.7.5-92.el7_9, python-devel-2.7.5-92.el7_9, python-libs-2.7.5-92.el7_9
- Red Hat Enterprise Linux Workstation Optional (v. 7) python-debug-2.7.5-92.el7_9, python-test-2.7.5-92.el7_9, python-tools-2.7.5-92.el7_9 +1
- RHSA-2021:3366 Released 2021-08-31 · Red Hat rating Moderatepython3 security update
- Red Hat Enterprise Linux AppStream EUS (v. 8.2) platform-python-3.6.8-24.el8_2, platform-python-debug-3.6.8-24.el8_2, platform-python-devel-3.6.8-24.el8_2 +3
- Red Hat Enterprise Linux BaseOS EUS (v. 8.2) platform-python-3.6.8-24.el8_2, python3-3.6.8-24.el8_2, python3-libs-3.6.8-24.el8_2 +1
- RHSA-2021:1633 Released 2021-05-18 · Red Hat rating Moderatepython3 security update
- Red Hat Enterprise Linux AppStream (v. 8) platform-python-3.6.8-37.el8, platform-python-debug-3.6.8-37.el8, platform-python-devel-3.6.8-37.el8 +3
- Red Hat Enterprise Linux BaseOS (v. 8) platform-python-3.6.8-37.el8, python3-3.6.8-37.el8, python3-libs-3.6.8-37.el8 +1
Show 5 more Red Hat advisories
- RHSA-2021:1879 Released 2021-05-18 · Red Hat rating Moderatepython38:3.8 security update
- Red Hat Enterprise Linux AppStream (v. 8) Cython-0.29.14-4.module+el8.4.0+8888+89bc7e79.src::python38:3.8, PyYAML-5.3.1-1.module+el8.4.0+8888+89bc7e79.src::python38:3.8, babel-2.7.0-10.module+el8.4.0+8888+89bc7e79.src::python38:3.8 +47
- RHSA-2021:1761 Released 2021-05-18 · Red Hat rating Moderatepython27:2.7 security and bug fix update
- Red Hat Enterprise Linux AppStream (v. 8) Cython-0.28.1-7.module+el8.1.0+3111+de3f2d8e.src::python27:2.7, PyYAML-3.12-16.module+el8.1.0+3111+de3f2d8e.src::python27:2.7, babel-2.5.1-9.module+el8.1.0+3111+de3f2d8e.noarch::python27:2.7 +47
- RHSA-2020:4299 Released 2020-10-20 · Red Hat rating Moderaterh-python38 security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-python38-python-3.8.6-1.el7, rh-python38-python-debug-3.8.6-1.el7, rh-python38-python-devel-3.8.6-1.el7 +8
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-python38-python-3.8.6-1.el7, rh-python38-python-debug-3.8.6-1.el7, rh-python38-python-devel-3.8.6-1.el7 +8
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-python38-python-3.8.6-1.el7, rh-python38-python-debug-3.8.6-1.el7, rh-python38-python-devel-3.8.6-1.el7 +8
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-python38-python-3.8.6-1.el7, rh-python38-python-debug-3.8.6-1.el7, rh-python38-python-devel-3.8.6-1.el7 +8
- RHSA-2020:4273 Released 2020-10-20 · Red Hat rating Moderatepython27 security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) python27-python-2.7.18-2.el7, python27-python-debug-2.7.18-2.el7, python27-python-devel-2.7.18-2.el7 +6
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) python27-python-2.7.18-2.el7, python27-python-debug-2.7.18-2.el7, python27-python-devel-2.7.18-2.el7 +6
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) python27-python-2.7.18-2.el7, python27-python-debug-2.7.18-2.el7, python27-python-devel-2.7.18-2.el7 +6
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) python27-python-2.7.18-2.el7, python27-python-debug-2.7.18-2.el7, python27-python-devel-2.7.18-2.el7 +6
- RHSA-2020:4285 Released 2020-10-19 · Red Hat rating Moderaterh-python36 security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-python36-python-3.6.12-1.el6, rh-python36-python-debug-3.6.12-1.el6, rh-python36-python-devel-3.6.12-1.el6 +6
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-python36-python-3.6.12-1.el7, rh-python36-python-debug-3.6.12-1.el7, rh-python36-python-devel-3.6.12-1.el7 +6
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-python36-python-3.6.12-1.el7, rh-python36-python-debug-3.6.12-1.el7, rh-python36-python-devel-3.6.12-1.el7 +6
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-python36-python-3.6.12-1.el7, rh-python36-python-debug-3.6.12-1.el7, rh-python36-python-devel-3.6.12-1.el7 +6
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-python36-python-3.6.12-1.el6, rh-python36-python-debug-3.6.12-1.el6, rh-python36-python-devel-3.6.12-1.el6 +6
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-python36-python-3.6.12-1.el7, rh-python36-python-debug-3.6.12-1.el7, rh-python36-python-devel-3.6.12-1.el7 +6
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Quay 3 | Affected | No fix yet |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2021:1633, RHSA-2021:1761, RHSA-2021:1879 |
| Red Hat Enterprise Linux AppStream EUS (v. 8.2) | Fixed | RHSA-2021:3366 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2021:1633 |
| Red Hat Enterprise Linux BaseOS EUS (v. 8.2) | Fixed | RHSA-2021:3366 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2022:5235 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2022:5235 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2022:5235 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2022:5235 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2022:5235 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2022:5235 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2022:5235 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2020:4285 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2020:4273, RHSA-2020:4285, RHSA-2020:4299 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2020:4273, RHSA-2020:4285, RHSA-2020:4299 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) | Fixed | RHSA-2020:4273, RHSA-2020:4285, RHSA-2020:4299 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2020:4285 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2020:4273, RHSA-2020:4285, RHSA-2020:4299 |
Not affected: 1 product
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2020-26116
- 2026-10-03 Alias added: GHSA-w7gf-rpqw-gx4f
- 2026-10-08 CISA SSVC decision points changed
References
Exploit 1
Patch 2
Advisory 10
Sources
- CVE-2020-26116 · CVE Program
- CVE-2020-26116 · NVD
- FIRST EPSS
- GHSA-w7gf-rpqw-gx4f · GitHub Advisory Database · CC BY 4.0
- CVE-2020-26116 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences