A security regression of CVE-2019-9636 was discovered in python since commit d537ab0ff9767ef024f26246899728f0116b1ec3 affecting versions 2.7
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.
- BDU:2019-02825
- DLA-2280-1
- openSUSE-SU-2019:1906-1
- openSUSE-SU-2020:0086-1
- openSUSE-SU-2024:11284-1
- RHSA-2019:1587
- RHSA-2019:1700
- RHSA-2019:2437
- SUSE-SU-2019:14142-1
- SUSE-SU-2019:2050-1
- SUSE-SU-2019:2053-1
- SUSE-SU-2019:2053-2
- SUSE-SU-2019:2064-1
- SUSE-SU-2019:2091-1
- SUSE-SU-2020:0114-1
- SUSE-SU-2020:0302-1
- Published
- Jun 7, 2019
- Updated
- Jun 16, 2026
- EPSS
- 5.2% · 92th percentile
- CWE
- CWE-172
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
41
Plan
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 5.2%
CNA vs NVD score
- NVD
- 9.8
- CNA · redhat
- 9.8
- agree
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| python | python | cpe:2.3:a:python:python |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
| redhat | enterprise linux server tus | cpe:2.3:o:redhat:enterprise_linux_server_tus |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| redhat | virtualization | cpe:2.3:a:redhat:virtualization |
and 3 more
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux12.04
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- canonical ubuntu linux19.04
- debian debian linux8.0
- debian debian linux9.0
- fedoraproject fedora29
- fedoraproject fedora30
- fedoraproject fedora31
- netapp cloud backupall versions
- netapp converged systems advisor agentall versions
- opensuse leap15.0
- opensuse leap15.1
- python python2.7.0 and later · before 2.7.17
- python python3.7.0 and later · before 3.7.4
- python python3.6.0 and later · before 3.6.9
- python python3.5.0 and later · before 3.5.8
- python python3.8.0
- redhat enterprise linux desktop7.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
Python python
- affects 2.7, 3.5, 3.6, 3.7, >= v3.8.0a4 and < v3.8.0b1affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:11 | python2.7 | before 2.7.16-3 | 2.7.16-3 |
| Debian:9 | python3.5 | before 3.5.3-1+deb9u2 | 3.5.3-1+deb9u2 |
| openSUSE:Leap 15.0 | python | before 2.7.14-lp151.10.3.1 | 2.7.14-lp151.10.3.1 |
| openSUSE:Leap 15.0 | python-base | before 2.7.14-lp151.10.3.1 | 2.7.14-lp151.10.3.1 |
| openSUSE:Leap 15.0 | python-doc | before 2.7.14-lp151.10.3.1 | 2.7.14-lp151.10.3.1 |
| openSUSE:Leap 15.1 | python3 | before 3.6.10-lp151.6.7.1 | 3.6.10-lp151.6.7.1 |
| openSUSE:Leap 15.1 | python3-base | before 3.6.10-lp151.6.7.1 | 3.6.10-lp151.6.7.1 |
| openSUSE:Tumbleweed | python36 | before 3.6.15-1.1 | 3.6.15-1.1 |
| Red Hat:enterprise_linux:7::client | python | before 0:2.7.5-80.el7_6 | 0:2.7.5-80.el7_6 |
| Red Hat:enterprise_linux:7::client | python-debug | before 0:2.7.5-80.el7_6 | 0:2.7.5-80.el7_6 |
| Red Hat:enterprise_linux:7::client | python-debuginfo | before 0:2.7.5-80.el7_6 | 0:2.7.5-80.el7_6 |
| Red Hat:enterprise_linux:7::client | python-devel | before 0:2.7.5-80.el7_6 | 0:2.7.5-80.el7_6 |
| Red Hat:enterprise_linux:7::client | python-libs | before 0:2.7.5-80.el7_6 | 0:2.7.5-80.el7_6 |
| Red Hat:enterprise_linux:7::client | python-test | before 0:2.7.5-80.el7_6 | 0:2.7.5-80.el7_6 |
| Red Hat:enterprise_linux:7::client | python-tools | before 0:2.7.5-80.el7_6 | 0:2.7.5-80.el7_6 |
| Red Hat:enterprise_linux:7::client | tkinter | before 0:2.7.5-80.el7_6 | 0:2.7.5-80.el7_6 |
| Red Hat:enterprise_linux:7::hypervisor | imgbased | before 0:1.1.9-0.1.el7ev | 0:1.1.9-0.1.el7ev |
| Red Hat:enterprise_linux:7::hypervisor | ovirt-node-ng | before 0:4.3.5-0.20190717.0.el7ev | 0:4.3.5-0.20190717.0.el7ev |
| Red Hat:enterprise_linux:7::hypervisor | ovirt-node-ng-nodectl | before 0:4.3.5-0.20190717.0.el7ev | 0:4.3.5-0.20190717.0.el7ev |
| Red Hat:enterprise_linux:7::hypervisor | python-imgbased | before 0:1.1.9-0.1.el7ev | 0:1.1.9-0.1.el7ev |
| Red Hat:enterprise_linux:7::hypervisor | python2-ovirt-node-ng-nodectl | before 0:4.3.5-0.20190717.0.el7ev | 0:4.3.5-0.20190717.0.el7ev |
| Red Hat:enterprise_linux:7::hypervisor | redhat-release-virtualization-host | before 0:4.3.5-2.el7ev | 0:4.3.5-2.el7ev |
| Red Hat:enterprise_linux:7::hypervisor | redhat-virtualization-host | before 0:4.3.5-20190722.0.el7_7 | 0:4.3.5-20190722.0.el7_7 |
| Red Hat:enterprise_linux:7::hypervisor | redhat-virtualization-host-image-update | before 0:4.3.5-20190722.0.el7_7 | 0:4.3.5-20190722.0.el7_7 |
+33
Same product
python: all recordsOther highest-scoring records for the same primary product.
- CVE-2016-5636Integer overflow in the get_data function in zipimport.c in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 all47Plan
- CVE-2007-4559Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted remot47Plan
- CVE-2021-3177Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain Pyth46Plan
- CVE-2014-4650The CGIHTTPServer module in Python 2.7.5 and 3.3.4 does not properly handle URLs in which URL encoding is used for path separators, which al46Plan
- CVE-2018-1000802Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements used in a Command ('C45Plan
- CVE-2020-27619In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via HTTP.42Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:python2.7 | 2.7.16-3 · Debian:11 | Package registry (OSV) |
| debian:python3.5 | 3.5.3-1+deb9u2 · Debian:9 | Package registry (OSV) |
| opensuse:python | 2.7.14-lp151.10.3.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| opensuse:python-base | 2.7.14-lp151.10.3.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| opensuse:python-doc | 2.7.14-lp151.10.3.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| opensuse:python3 | 3.6.10-lp151.6.7.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| opensuse:python3-base | 3.6.10-lp151.6.7.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| opensuse:python36 | 3.6.15-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:python | 0:2.7.5-80.el7_6 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:python-debug | 0:2.7.5-80.el7_6 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:python-debuginfo | 0:2.7.5-80.el7_6 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:python-devel | 0:2.7.5-80.el7_6 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:python-libs | 0:2.7.5-80.el7_6 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:python-test | 0:2.7.5-80.el7_6 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:python-tools | 0:2.7.5-80.el7_6 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:python27-python | 0:2.7.16-6.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:python27-python-debug | 0:2.7.16-6.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:python27-python-debuginfo | 0:2.7.16-6.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:python27-python-devel | 0:2.7.16-6.el6 · Red Hat:rhel_software_collections:3::el6 | Package registry (OSV) |
| red hat:tkinter | 0:2.7.5-80.el7_6 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:python | 2.6.9-40.29.1 · SUSE:Linux Enterprise Point of Sale 11 SP3 | Package registry (OSV) |
| suse:python-base | 2.6.9-40.29.1 · SUSE:Linux Enterprise Point of Sale 11 SP3 | Package registry (OSV) |
| suse:python-doc | 2.6-8.40.29.1 · SUSE:Linux Enterprise Point of Sale 11 SP3 | Package registry (OSV) |
| suse:python3 | 3.6.8-3.23.1 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:python3-base | 3.6.8-3.23.1 · SUSE:Linux Enterprise Module for Basesystem 15 | Package registry (OSV) |
| suse:python36 | 3.6.10-4.3.5 · SUSE:Linux Enterprise Server 12 SP5 | Package registry (OSV) |
| suse:python36-base | 3.6.10-4.3.5 · SUSE:Linux Enterprise Server 12 SP5 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-172 · Encoding ErrorCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Double EncodingCAPEC-120likelihood: Low · Medium
- Leverage Alternate EncodingCAPEC-267likelihood: High · High
- Using Leading 'Ghost' Character Sequences to Bypass Input FiltersCAPEC-3likelihood: Medium · Medium
- Embedding NULL BytesCAPEC-52likelihood: High · High
- Postfix, Null Terminate, and BackslashCAPEC-53likelihood: High · High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64likelihood: High · High
- Using Unicode Encoding to Bypass Validation LogicCAPEC-71likelihood: Medium · High
- URL EncodingCAPEC-72likelihood: High · High
ATT&CK techniques
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- lists.opensuse.org/opensuse-security-announce/2019-08/msg00042.html
- lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- access.redhat.com/errata/RHSA-2019:1587
- access.redhat.com/errata/RHSA-2019:1700
- access.redhat.com/errata/RHSA-2019:2437
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10160
- github.com/python/cpython/commit/250b62acc59921d399f0db47db3b462cd6037e09
- github.com/python/cpython/commit/8d0ef0b5edeae52960c7ed05ae8a12388324f87e
- github.com/python/cpython/commit/f61599b050c621386a3fc6bc480359e2d3bb93de
- github.com/python/cpython/commit/fd1771dbdd28709716bd531580c40ae5ed814468
- lists.apache.org/thread.html/r1b103833cb5bc8466e24ff0ecc5e75b45a705334ab6a444e64e840a0%40%3Cissues.bookkeeper.apache.org%3E
- lists.debian.org/debian-lts-announce/2019/06/msg00022.html
- lists.debian.org/debian-lts-announce/2020/07/msg00011.html
- lists.debian.org/debian-lts-announce/2020/08/msg00034.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2ORNTF62QPLMJXIQ7KTZQ2776LMIXEKL/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/44TS66GJMO5H3RLMVZEBGEFTB6O2LJJU/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4X3HW5JRZ7GCPSR7UHJOLD7AWLTQCDVR/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E2HP37NUVLQSBW3J735A2DQDOZ4ZGBLY/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ER6LONC2B2WYIO56GBQUDU6QTWZDPUNQ/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HQEQLXLOCR3SNM3AA5RRYJFQ5AZBYJ4L/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.