cve.bz

CVE-2020-26137 Injection

6.5 mediumEPSS 2.3%Fix available

Medium (6.5). EPSS 2.3% estimated probability of exploitation activity in the next 30 days. Fixed in urllib3 1.25.9.

On this page
urllib3 before 1.25.9 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 putrequest(). NOTE: this is similar to CVE-2020-26116.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
2.3% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 83rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-26137 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-26137?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-26137?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-26137 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:urllib3before 1.25.9
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux20.04
debian:debian_linux9.0
oracle:communications_cloud_native_core_network_function_cloud_native_environment22.2.0
oracle:zfs_storage_appliance_kit8.8

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wqvq-5m8c-6g24PyPIurllib3<1.25.91.25.9
PYSEC-2020-148PyPIurllib3<1.25.91.25.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9python-urllib31.19.1-1+deb9u1DLA-2686-1
Debian10python-urllib31.24.1-1+deb10u1DLA-3610-1
Debian12, 13, 14python-urllib31.25.9-1DEBIAN-CVE-2020-26137
Ubuntu16.04:LTSpython-pip8.1.1-2ubuntu0.6UBUNTU-CVE-2020-26137
Ubuntu16.04:LTSpython-urllib31.13.1-2ubuntu0.16.04.4UBUNTU-CVE-2020-26137 USN-4570-1
Ubuntu18.04:LTSpython-pip9.0.1-2.3~ubuntu1.18.04.3UBUNTU-CVE-2020-26137
Ubuntu18.04:LTSpython-urllib31.22-1ubuntu0.18.04.2UBUNTU-CVE-2020-26137 USN-4570-1
Ubuntu20.04:LTSpython-pip20.0.2-5ubuntu1.1UBUNTU-CVE-2020-26137
Ubuntu20.04:LTSpython-urllib31.25.8-2ubuntu0.1UBUNTU-CVE-2020-26137 USN-4570-1
UbuntuPro:14.04:LTSpython-pipno fix listedUBUNTU-CVE-2020-26137
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationpython, tkinter, python-libs and 5 more0:2.7.5-92.el7_9RHSA-2022:5235
Red Hatenterprise_linux:7::computenodetkinter, python-test, python-debug and 2 more0:2.7.5-92.el7_9RHSA-2022:5235
Red Hatenterprise_linux:8::appstreamCython, python2-Cython, Cython-debugsource and 1 more0:0.28.1-7.module+el8.1.0+3111+de3f2d8eRHSA-2021:1761
Red Hatenterprise_linux:8::appstreamPyYAML, python2-pyyaml, PyYAML-debugsource and 1 more0:3.12-16.module+el8.1.0+3111+de3f2d8eRHSA-2021:1761
Red Hatenterprise_linux:8::appstreambabel, python2-babel0:2.5.1-9.module+el8.1.0+3111+de3f2d8eRHSA-2021:1761
Red Hatenterprise_linux:8::appstreamnumpy, python2-numpy, numpy-debugsource and 3 more1:1.14.2-16.module+el8.4.0+9406+221a4565RHSA-2021:1761
Red Hatenterprise_linux:8::appstreampytest, python2-pytest0:3.4.2-13.module+el8.1.0+3111+de3f2d8eRHSA-2021:1761
Red Hatenterprise_linux:8::appstreampython-PyMySQL, python2-PyMySQL0:0.8.0-10.module+el8.1.0+3111+de3f2d8eRHSA-2021:1761
Red Hatenterprise_linux:8::appstreampython-attrs, python2-attrs0:17.4.0-10.module+el8.1.0+3111+de3f2d8eRHSA-2021:1761
Red Hatenterprise_linux:8::appstreampython-backports, python2-backports0:1.0-16.module+el8.4.0+9193+f3daf6efRHSA-2021:1761
Red Hatenterprise_linux:8::appstreampython-backports-ssl_match_hostname, python2-backports-ssl_match_hostname0:3.5.0.1-12.module+el8.4.0+9193+f3daf6efRHSA-2021:1761
Red Hatenterprise_linux:8::appstreampython-chardet, python2-chardet0:3.0.4-10.module+el8.1.0+3111+de3f2d8eRHSA-2021:1761
54 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 11 morepython-asn1crypto0.24.0-3.2.1SUSE-SU-2021:2817-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 11 morepython-pyasn10.4.2-3.2.1SUSE-SU-2021:2817-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 11 morepython-pycparser2.17-3.2.1SUSE-SU-2021:2817-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 10 morepython-urllib31.25.10-9.14.1SUSE-SU-2021:2817-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 11 morepython-botocore1.20.9-33.1SUSE-SU-2021:2817-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 10 morepython-boto31.17.9-19.1SUSE-SU-2021:2817-1
SUSEHPE Helion OpenStack 8documentation-hpe-helion-openstack-user, documentation-hpe-helion-openstack-planning, documentation-hpe-helion-openstack-security and 3 more8.20201007-1.29.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8release-notes-hpe-helion-openstack8.20200922-3.23.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8venv-openstack-horizon-hpe12.0.5~dev3-14.32.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Module for Public Cloud 12, Linux Enterprise Server 12 SP2-BCL and 13 morepython-urllib31.25.10-3.31.2SUSE-SU-2021:3251-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-ansible8.0+git.1596735237.54109b1-3.77.1SUSE-SU-2020:3309-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-cinder8.0+git.1596129856.263f430-3.43.1SUSE-SU-2020:3309-1
105 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.1python-urllib3, python-urllib3-test1.24-lp151.2.9.1openSUSE-SU-2020:2282-1
openSUSELeap 15.2python-cffi1.13.2-lp152.2.3.1openSUSE-SU-2021:1206-1
openSUSELeap 15.2python-cryptography2.8-lp152.2.12.1openSUSE-SU-2021:1206-1
openSUSELeap 15.2python-pyOpenSSL17.5.0-lp152.7.3.1openSUSE-SU-2021:1206-1
openSUSELeap 15.2python-urllib3, python-urllib3-test1.24-lp152.5.3.1openSUSE-SU-2020:2237-1
openSUSELeap 15.3aws-cli1.19.9-26.1openSUSE-SU-2021:2817-1
openSUSELeap 15.3python-asn1crypto0.24.0-3.2.1openSUSE-SU-2021:2817-1
openSUSELeap 15.3python-boto31.17.9-19.1openSUSE-SU-2021:2817-1
openSUSELeap 15.3python-botocore1.20.9-33.1openSUSE-SU-2021:2817-1
openSUSELeap 15.3python-cffi1.13.2-3.2.5openSUSE-SU-2021:2817-1
openSUSELeap 15.3python-cryptography2.8-10.1openSUSE-SU-2021:2817-1
openSUSELeap 15.3python-pyasn10.4.2-3.2.1openSUSE-SU-2021:2817-1
5 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8python-sqlalchemy-doc1.3.2-2.module_el8.5.0+2569+5c5719bcALSA-2021:1761
AlmaLinux8python2-Cython0.28.1-7.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-PyMySQL0.8.0-10.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-attrs17.4.0-10.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-backports1.0-16.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-backports-ssl_match_hostname3.5.0.1-12.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-chardet3.0.4-10.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-coverage4.5.1-4.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-dns1.15.0-10.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-docs, python2-docs-info2.7.16-2.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-docutils0.14-12.module_el8.6.0+2781+fed64c13ALSA-2021:1761
AlmaLinux8python2-funcsigs1.0.2-13.module_el8.6.0+2781+fed64c13ALSA-2021:1761
21 more for AlmaLinux in the JSON.
Rocky Linux8Cython0:0.28.1-7.module+el8.4.0+403+9ae17a31RLSA-2021:1761
Rocky Linux8Cython0:0.28.1-7.module+el8.5.0+706+735ec4b3RLSA-2021:1761
Rocky Linux8PyYAML0:3.12-16.module+el8.4.0+403+9ae17a31RLSA-2021:1761
Rocky Linux8PyYAML0:3.12-16.module+el8.5.0+706+735ec4b3RLSA-2021:1761
Rocky Linux8babel0:2.5.1-9.module+el8.4.0+403+9ae17a31RLSA-2021:1761
Rocky Linux8numpy1:1.14.2-16.module+el8.4.0+403+9ae17a31RLSA-2021:1761
Rocky Linux8numpy1:1.14.2-16.module+el8.5.0+706+735ec4b3RLSA-2021:1761
Rocky Linux8pytest0:3.4.2-13.module+el8.4.0+403+9ae17a31RLSA-2021:1761
Rocky Linux8pytest0:3.4.2-13.module+el8.5.0+706+735ec4b3RLSA-2021:1761
Rocky Linux8python-PyMySQL0:0.8.0-10.module+el8.3.0+120+426d8bafRLSA-2021:1761
Rocky Linux8python-PyMySQL0:0.8.0-10.module+el8.5.0+706+735ec4b3RLSA-2021:1761
Rocky Linux8python-attrs0:17.4.0-10.module+el8.4.0+403+9ae17a31RLSA-2021:1761
45 more for Rocky Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

* Red Hat OpenShift Container Platform (OCP) 4 delivers the python-urllib3 package, which includes a vulnerable version of the urllib3 module, however from OCP 4.6, the python-urllib3 package is no longer shipped and will not be fixed.

* In Red Hat OpenStack Platform, because the flaw has a lower impact and the fix would require a substantial amount of development, no update will be provided at this time for the RHOSP python-urllib3 package.

Note: Versions of `python-pip` are marked as not affected because there is no way for a pip user to control the HTTP request method.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7python-0:2.7.5-92.el7_9Fixed 2022-06-28RHSA-2022:5235
Red Hat Enterprise Linux 8python27:2.7-8040020210122160212.cdb2db54Fixed 2021-05-18RHSA-2021:1761
Red Hat Enterprise Linux 8python-urllib3-0:1.24.2-5.el8Fixed 2021-05-18RHSA-2021:1631
Red Hat OpenShift Container Platform 3.11python-urllib3-0:1.26.2-1.el7Fixed 2021-01-20RHSA-2021:0079
Red Hat OpenShift Container Platform 4.5python-urllib3-0:1.26.2-1.el7Fixed 2021-01-20RHSA-2021:0034
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python38-python-0:3.8.6-1.el7Fixed 2020-10-20RHSA-2020:4299
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python38-python-psutil-0:5.6.4-5.el7Fixed 2020-10-20RHSA-2020:4299
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python38-python-urllib3-0:1.25.7-6.el7Fixed 2020-10-20RHSA-2020:4299
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-python38-python-0:3.8.6-1.el7Fixed 2020-10-20RHSA-2020:4299
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSrh-python38-python-psutil-0:5.6.4-5.el7Fixed 2020-10-20RHSA-2020:4299
Red Hat Enterprise Linux 6python-urllib3Out of support scope
Red Hat Enterprise Linux 7python-pipNot affected
Red Hat Enterprise Linux 8python38:3.8/python3x-pipNot affected
Red Hat Enterprise Linux 8python38:3.8/python-urllib3Not affected
Red Hat Enterprise Linux 8python-pipNot affected
Red Hat OpenStack Platform 10 (Newton)python-urllib3Out of support scope
Red Hat OpenStack Platform 13 (Queens)python-urllib3Will not fix
Red Hat Software Collectionspython27-python-pipNot affected
Red Hat Software Collectionsrh-mongodb36-python-urllib3Will not fix
Red Hat Software Collectionsrh-python36-python-pipNot affected
6 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-26137.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON