CVE-2020-26116 Other in n/a

High 7.2 Published Updated

Attackers can inject CRLF characters into HTTP requests via the http.client module, potentially leading to request smuggling or header injection.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-26116?

CVE-2020-26116 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 27 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-74

Which versions are affected by CVE-2020-26116?

3 open source packages ship an affected version, including libpython, python and python-min. It affects 8 products.

PackageAffectedFixed in
libpython BitnamiFrom 3.0.03.5.10, 3.6.12, 3.7.9, 3.8.5
python BitnamiFrom 3.0.03.5.10, 3.6.12, 3.7.9, 3.8.5
python-min BitnamiFrom 3.0.03.5.10, 3.6.12, 3.7.9, 3.8.5
Linux distribution packages (37)
platform-python Red Hat:rhel_eus:8.2::appstreamAll versions0:3.6.8-24.el8_2
platform-python-debug Red Hat:rhel_eus:8.2::appstreamAll versions0:3.6.8-24.el8_2
platform-python-devel Red Hat:rhel_eus:8.2::appstreamAll versions0:3.6.8-24.el8_2
python3-debuginfo Red Hat:rhel_eus:8.2::appstreamAll versions0:3.6.8-24.el8_2
python3-debugsource Red Hat:rhel_eus:8.2::appstreamAll versions0:3.6.8-24.el8_2
python3-idle Red Hat:rhel_eus:8.2::appstreamAll versions0:3.6.8-24.el8_2
python3-test Red Hat:rhel_eus:8.2::appstreamAll versions0:3.6.8-24.el8_2
python3-tkinter Red Hat:rhel_eus:8.2::appstreamAll versions0:3.6.8-24.el8_2
platform-python Red Hat:rhel_eus:8.2::baseosAll versions0:3.6.8-24.el8_2
python3 Red Hat:rhel_eus:8.2::baseosAll versions0:3.6.8-24.el8_2
python3-debuginfo Red Hat:rhel_eus:8.2::baseosAll versions0:3.6.8-24.el8_2
python3-debugsource Red Hat:rhel_eus:8.2::baseosAll versions0:3.6.8-24.el8_2
python3-libs Red Hat:rhel_eus:8.2::baseosAll versions0:3.6.8-24.el8_2
python3-test Red Hat:rhel_eus:8.2::baseosAll versions0:3.6.8-24.el8_2
python SUSE:Enterprise Storage 5All versions2.7.17-28.56.1
python-urllib3 SUSE:Enterprise Storage 5All versions1.22-3.23.1
python-urllib3 SUSE:HPE Helion OpenStack 8All versions1.22-5.15.1
python-urllib3 SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions1.22-6.12.1
python-urllib3 SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions1.22-6.12.1
python SUSE:Linux Enterprise Module for Basesystem 15 SP1All versions2.7.17-7.44.4
python-base SUSE:Linux Enterprise Module for Basesystem 15 SP1All versions2.7.17-7.44.2
python SUSE:Linux Enterprise Module for Basesystem 15 SP2All versions2.7.17-7.44.4
python-base SUSE:Linux Enterprise Module for Basesystem 15 SP2All versions2.7.17-7.44.2
python SUSE:Linux Enterprise Module for Desktop Applications 15 SP1All versions2.7.17-7.44.4
python SUSE:Linux Enterprise Module for Desktop Applications 15 SP2All versions2.7.17-7.44.4
python-urllib3 SUSE:Linux Enterprise Module for Public Cloud 12All versions1.22-3.23.1
python SUSE:Linux Enterprise Module for Python 2 15 SP1All versions2.7.17-7.44.4
python-base SUSE:Linux Enterprise Module for Python 2 15 SP1All versions2.7.17-7.44.2
python SUSE:Linux Enterprise Module for Python 2 15 SP2All versions2.7.17-7.44.4
python-base SUSE:Linux Enterprise Module for Python 2 15 SP2All versions2.7.17-7.44.2
python3 SUSE:Linux Enterprise Module for Web and Scripting 12All versions3.4.10-25.55.1
python3-base SUSE:Linux Enterprise Module for Web and Scripting 12All versions3.4.10-25.55.1
python SUSE:Linux Enterprise Point of Sale 11 SP3All versions2.6.9-40.48.1
python-base SUSE:Linux Enterprise Point of Sale 11 SP3All versions2.6.9-40.48.1
python-doc SUSE:Linux Enterprise Point of Sale 11 SP3All versions2.6-8.40.48.1
python SUSE:Linux Enterprise Server 11 SP4-LTSSAll versions2.6.9-40.48.1
python-base SUSE:Linux Enterprise Server 11 SP4-LTSSAll versions2.6.9-40.48.1

Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Netapp Hci Storage Node, Netapp Solidfire, Opensuse Leap and 2 more.

How do I fix CVE-2020-26116?

Upgrade libpython to a fixed version for your release line: 3.5.10, 3.6.12, 3.7.9 or 3.8.5.

Is CVE-2020-26116 being exploited?

There is no known exploitation of CVE-2020-26116 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as BIT-libpython-2020-26116, BIT-python-2020-26116, BIT-python-min-2020-26116, CLSA-2023-1698945913, DEBIAN-CVE-2020-26116, GHSA-w7gf-rpqw-gx4f and 15 more.

Is CVE-2020-26116 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free