Description
A security regression of CVE-2019-9636 was discovered in python since commit d537ab0ff9767ef024f26246899728f0116b1ec3 affecting versions 2.7, 3.5, 3.6, 3.7 and from v3.8.0a4 through v3.8.0b1, which still allows an attacker to exploit CVE-2019-9636 by abusing the user and password parts of a URL. When an application parses user-supplied URLs to store cookies, authentication credentials, or other kind of information, it is possible for an attacker to provide specially crafted URLs to make the application locate host-related information (e.g. cookies, authentication data) and send them to a different host than where it should, unlike if the URLs had been correctly parsed. The result of an attack may vary based on the application.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Python | python | affects 2.7, 3.5, 3.6, 3.7, >= v3.8.0a4 and < v3.8.0b1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | python2.7 | 2.7.16-3 | — |
| Debian 9 | python3.5 | 3.5.3-1+deb9u2 | DLA-2280-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | python3.10 | 3.10.12-1~22.04.4 | USN-6891-1 |
| Ubuntu 20.04 LTS | python3.8 | 3.8.10-0ubuntu1~20.04.10 | USN-6891-1 |
| Ubuntu 18.04 LTS | python2.7 | 2.7.15-4ubuntu4~18.04.1 | USN-4127-1 |
| Ubuntu 18.04 LTS | python3.6 | 3.6.8-1~18.04.2 | USN-4127-1 |
| Ubuntu 16.04 LTS | python2.7 | 2.7.12-1ubuntu0~16.04.8 | USN-4127-1 |
| Ubuntu 16.04 LTS | python3.5 | 3.5.2-2ubuntu0~16.04.8 | USN-4127-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | python3.11 | 3.11.0~rc1-1~22.04.1~esm1 | USN-6891-1 |
| Ubuntu Pro 20.04 LTS | python3.9 | 3.9.5-3ubuntu0~20.04.1+esm2 | USN-6891-1 |
| Ubuntu Pro 18.04 LTS | python3.6 | 3.6.9-1~18.04ubuntu1.13+esm2 | USN-6891-1 |
| Ubuntu Pro 18.04 LTS | python3.7 | 3.7.5-2ubuntu1~18.04.2+esm3 | USN-6891-1 |
| Ubuntu Pro 18.04 LTS | python3.8 | 3.8.0-3ubuntu1~18.04.2+esm2 | USN-6891-1 |
| Ubuntu Pro 16.04 LTS | python3.5 | 3.5.2-2ubuntu0~16.04.13+esm13 | USN-6891-1 |
| Ubuntu Pro 14.04 LTS | python2.7 | 2.7.6-8ubuntu0.6+esm2 | USN-4127-2 |
| Ubuntu Pro 14.04 LTS | python3.4 | 3.4.3-1ubuntu1~14.04.7+esm2 | USN-4127-2 |
| Ubuntu Pro 14.04 LTS | python3.5 | 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1 | USN-6891-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | imgbased +1 | 1.1.9-0.1.el7ev | RHSA-2019:2437 |
| RHEL 7 | ovirt-node-ng +2 | 4.3.5-0.20190717.0.el7ev | RHSA-2019:2437 |
| RHEL 7 | python +6 | 2.7.5-80.el7_6 | RHSA-2019:1587 |
| RHEL 7 | redhat-release-virtualization-host +1 | 4.3.5-2.el7ev | RHSA-2019:2437 |
| RHEL 7 | redhat-virtualization-host +1 | 4.3.5-20190722.0.el7_7 | RHSA-2019:2437 |
| RHEL 3 | python27-python +6 | 2.7.16-6.el6 | RHSA-2019:1700 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP1 | python +1 | 2.7.14-7.14.2 | SUSE-SU-2020:0234-1, SUSE-SU-2019:2064-1 |
| SLES 15 SP1 | python3 +1 | 3.6.8-3.23.1 | SUSE-SU-2020:0114-1, SUSE-SU-2019:2050-1 |
| SLES 15 | python +1 | 2.7.14-7.14.2 | SUSE-SU-2020:0234-1, SUSE-SU-2019:2064-1 |
| SLES 15 | python3 +1 | 3.6.8-3.23.1 | SUSE-SU-2020:0114-1, SUSE-SU-2019:2050-1 |
| SLES 12 SP5 | python36 +1 | 3.6.10-4.3.5 | SUSE-SU-2020:0302-1 |
| SLES 12 SP4 | python +1 | 2.7.13-28.31.1 | SUSE-SU-2019:2091-1 |
| SLES 12 SP4 | python-doc | 2.7.13-28.31.2 | SUSE-SU-2019:2091-1 |
| SLES 12 SP4 | python3 +1 | 3.4.6-25.29.1 | SUSE-SU-2019:2053-1 |
| SLES 12 SP3 | python +1 | 2.7.13-28.31.1 | SUSE-SU-2019:2091-1 |
| SLES 12 SP3 | python-doc | 2.7.13-28.31.2 | SUSE-SU-2019:2091-1 |
| SLES 12 SP3 | python3 +1 | 3.4.6-25.29.1 | SUSE-SU-2019:2053-2, SUSE-SU-2019:2053-1 |
Show 17 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | python +1 | 2.7.13-28.31.1 | SUSE-SU-2019:2091-1 |
| SLES 12 SP2 | python-doc | 2.7.13-28.31.2 | SUSE-SU-2019:2091-1 |
| SLES 12 SP2 | python3 +1 | 3.4.6-25.29.1 | SUSE-SU-2019:2053-1 |
| SLES 12 SP1 | python +1 | 2.7.13-28.31.1 | SUSE-SU-2019:2091-1 |
| SLES 12 SP1 | python-doc | 2.7.13-28.31.2 | SUSE-SU-2019:2091-1 |
| SLES 12 SP1 | python3 +1 | 3.4.6-25.29.1 | SUSE-SU-2019:2053-1 |
| SLES 12 | python3 +1 | 3.4.6-25.29.1 | SUSE-SU-2019:2053-1 |
| SLES 11 SP4 | MozillaFirefox | 68.2.0-78.51.4 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | MozillaFirefox-branding-SLED | 68-21.9.8 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | firefox-atk | 2.26.1-2.8.4 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | firefox-cairo | 1.15.10-2.13.4 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | firefox-gdk-pixbuf | 2.36.11-2.8.4 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | firefox-glib2 | 2.54.3-2.14.7 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | firefox-gtk3 | 3.10.9-2.15.3 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | firefox-harfbuzz | 1.7.5-2.7.4 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | firefox-libffi | 3.2.1.git259-2.3.3 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | firefox-libffi-gcc5 | 5.3.1+r233831-14.1 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | firefox-pango | 1.40.14-2.7.4 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | mozilla-nspr | 4.21-29.6.1 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | mozilla-nss | 3.45-38.9.3 | SUSE-SU-2019:14246-1 |
| SLES 11 SP4 | python +1 | 2.6.9-40.29.1 | SUSE-SU-2019:14142-1 |
| SLES 11 SP4 | python-doc | 2.6-8.40.29.1 | SUSE-SU-2019:14142-1 |
| SLES 2 | python +1 | 2.7.14-7.14.2 | SUSE-SU-2020:0234-1, SUSE-SU-2019:2064-1 |
| SLES for SAP 12 SP5 | python36 +1 | 3.6.10-4.3.5 | SUSE-SU-2020:0302-1 |
| SLES for SAP 12 SP4 | python +1 | 2.7.13-28.31.1 | SUSE-SU-2019:2091-1 |
| SLES for SAP 12 SP4 | python-doc | 2.7.13-28.31.2 | SUSE-SU-2019:2091-1 |
| SLES for SAP 12 SP4 | python3 +1 | 3.4.6-25.29.1 | SUSE-SU-2019:2053-1 |
| SLES for SAP 12 SP3 | python +1 | 2.7.13-28.31.1 | SUSE-SU-2019:2091-1 |
| SLES for SAP 12 SP3 | python-doc | 2.7.13-28.31.2 | SUSE-SU-2019:2091-1 |
| SLES for SAP 12 SP3 | python3 +1 | 3.4.6-25.29.1 | SUSE-SU-2019:2053-1 |
| SLES for SAP 12 SP2 | python +1 | 2.7.13-28.31.1 | SUSE-SU-2019:2091-1 |
| SLES for SAP 12 SP2 | python-doc | 2.7.13-28.31.2 | SUSE-SU-2019:2091-1 |
| SLES for SAP 12 SP2 | python3 +1 | 3.4.6-25.29.1 | SUSE-SU-2019:2053-1 |
| SLES for SAP 12 SP1 | python +1 | 2.7.13-28.31.1 | SUSE-SU-2019:2091-1 |
| SLES for SAP 12 SP1 | python-doc | 2.7.13-28.31.2 | SUSE-SU-2019:2091-1 |
| SLES for SAP 12 SP1 | python3 +1 | 3.4.6-25.29.1 | SUSE-SU-2019:2053-1 |
| SUSE OpenStack Cloud Crowbar 8 | python +1 | 2.7.13-28.31.1 | SUSE-SU-2019:2091-1 |
| SUSE OpenStack Cloud Crowbar 8 | python-doc | 2.7.13-28.31.2 | SUSE-SU-2019:2091-1 |
| SUSE OpenStack Cloud Crowbar 8 | python3 +1 | 3.4.6-25.29.1 | SUSE-SU-2019:2053-2 |
| SUSE OpenStack Cloud 8 | python +1 | 2.7.13-28.31.1 | SUSE-SU-2019:2091-1 |
| SUSE OpenStack Cloud 8 | python-doc | 2.7.13-28.31.2 | SUSE-SU-2019:2091-1 |
| SUSE OpenStack Cloud 8 | python3 +1 | 3.4.6-25.29.1 | SUSE-SU-2019:2053-1 |
| SUSE OpenStack Cloud 7 | python +1 | 2.7.13-28.31.1 | SUSE-SU-2019:2091-1 |
| SUSE OpenStack Cloud 7 | python-doc | 2.7.13-28.31.2 | SUSE-SU-2019:2091-1 |
| SUSE OpenStack Cloud 7 | python3 +1 | 3.4.6-25.29.1 | SUSE-SU-2019:2053-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | python +1 | 2.6.9-40.29.1 | SUSE-SU-2019:14142-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | python-doc | 2.6-8.40.29.1 | SUSE-SU-2019:14142-1 |
| SUSE HPE Helion OpenStack 8 | python +1 | 2.7.13-28.31.1 | SUSE-SU-2019:2091-1 |
| SUSE HPE Helion OpenStack 8 | python-doc | 2.7.13-28.31.2 | SUSE-SU-2019:2091-1 |
| SUSE HPE Helion OpenStack 8 | python3 +1 | 3.4.6-25.29.1 | SUSE-SU-2019:2053-2 |
| SUSE Enterprise Storage 5 | python +1 | 2.7.13-28.31.1 | SUSE-SU-2019:2091-1 |
| SUSE Enterprise Storage 5 | python-doc | 2.7.13-28.31.2 | SUSE-SU-2019:2091-1 |
| SUSE Enterprise Storage 5 | python3 +1 | 3.4.6-25.29.1 | SUSE-SU-2019:2053-2, SUSE-SU-2019:2053-1 |
| SUSE Enterprise Storage 4 | python +1 | 2.7.13-28.31.1 | SUSE-SU-2019:2091-1 |
| SUSE Enterprise Storage 4 | python-doc | 2.7.13-28.31.2 | SUSE-SU-2019:2091-1 |
| SUSE Enterprise Storage 4 | python3 +1 | 3.4.6-25.29.1 | SUSE-SU-2019:2053-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python | 2.7.18-8.1 | openSUSE-SU-2024:11202-1 |
| openSUSE Tumbleweed | python36 | 3.6.15-1.1 | openSUSE-SU-2024:11284-1 |
| openSUSE Leap 15.1 | python +2 | 2.7.14-lp151.10.3.1 | openSUSE-SU-2019:1906-1 |
| openSUSE Leap 15.1 | python3 +1 | 3.6.10-lp151.6.7.1 | openSUSE-SU-2020:0086-1 |
| openSUSE Leap 15.0 | python +2 | 2.7.14-lp151.10.3.1 | openSUSE-SU-2019:1906-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | python +6 | 2.7.16-2.amzn2.0.1 | ALAS2-2019-1258 |
| Amazon Linux 2 | python3 +6 | 3.7.4-1.amzn2.0.1 | ALAS2-2019-1259 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | python +6 | 2.7.5-80.0.1.el7_6 | ELSA-2019-1587 |
Advisories 27
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- USN-4127-1 python2.7, python3.5, python3.6, python3.7 vulnerabilities Ubuntu Security Notices (USN) · Oct 8, 2026
- USN-6891-1 python3.5, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12 vulnerabilities Ubuntu Security Notices (USN) · Oct 8, 2026
- USN-4127-2 python2.7, python3.4 vulnerabilities Ubuntu Security Notices (USN) · Oct 8, 2026
- RHSA-2019:2437 Red Hat Security Advisory: Red Hat Virtualization security update Red Hat Security Advisories (RHSA) · Oct 8, 2026
- RHSA-2019:1700 Red Hat Security Advisory: python27-python security update Red Hat Security Advisories (RHSA) · Oct 8, 2026
- RHSA-2019:1587 Red Hat Security Advisory: python security update Red Hat Security Advisories (RHSA) · Oct 8, 2026
- DLA-2280-1 python3.5 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2020:0302-1 Security update for python36 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:2064-1 Security update for python SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:2053-1 Security update for python3 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0086-1 Security update for python3 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:2050-1 Security update for python3 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:2053-2 Security update for python3 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:2091-1 Security update for python SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2020:0114-1 Security update for python3 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:1906-1 Security update for python SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:14246-1 Security update for Mozilla Firefox SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11284-1 python36-3.6.15-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- openSUSE-SU-2024:11202-1 python-2.7.18-8.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- SUSE-SU-2019:14142-1 Security update for python SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2020:0234-1 Security update for python SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2024-1598 Python: Schwachstelle ermöglicht nicht spezifizierten Angriff BSI CERT-Bund (WID) · Jul 11, 2024
- ALAS2-2019-1259 Important: python3 security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Aug 9, 2019
- ALAS2-2019-1258 Important: python security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Aug 9, 2019
- ELSA-2019-1587 Important: python security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jun 20, 2019
References
- https://python-security.readthedocs.io/vuln/urlsplit-nfkc-normalization2.html
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10160
- https://github.com/python/cpython/commit/8d0ef0b5edeae52960c7ed05ae8a12388324f87e
- https://github.com/python/cpython/commit/f61599b050c621386a3fc6bc480359e2d3bb93de
- https://github.com/python/cpython/commit/250b62acc59921d399f0db47db3b462cd6037e09
- https://github.com/python/cpython/commit/fd1771dbdd28709716bd531580c40ae5ed814468
- https://security.netapp.com/advisory/ntap-20190617-0003/
- RHSA-2019:1587 vendor-advisory
- [debian-lts-announce] 20190625 [SECURITY] [DLA 1834-1] python2.7 security update mailing-list
- RHSA-2019:1700 vendor-advisory
- FEDORA-2019-7723d4774a vendor-advisory
- FEDORA-2019-7df59302e0 vendor-advisory
- FEDORA-2019-9bfb4a3e4b vendor-advisory
- FEDORA-2019-60a1defcd1 vendor-advisory
- RHSA-2019:2437 vendor-advisory
- openSUSE-SU-2019:1906 vendor-advisory
- USN-4127-2 vendor-advisory
- USN-4127-1 vendor-advisory
- FEDORA-2019-50772cf122 vendor-advisory
- FEDORA-2019-5dc275c9f2 vendor-advisory
- FEDORA-2019-2b1f72899a vendor-advisory
- FEDORA-2019-b06ec6159b vendor-advisory
- FEDORA-2019-d202cda4f8 vendor-advisory
- FEDORA-2019-57462fa10d vendor-advisory
- openSUSE-SU-2020:0086 vendor-advisory
- [debian-lts-announce] 20200715 [SECURITY] [DLA 2280-1] python3.5 security update mailing-list
- [bookkeeper-issues] 20200729 [GitHub] [bookkeeper] padma81 opened a new issue #2387: Security vulnerabilities in the apache/bookkeeper-4.9.2 image mailing-list
- [debian-lts-announce] 20200822 [SECURITY] [DLA 2337-1] python2.7 security update mailing-list