CVE-2019-9636: Critical severity Python Python vulnerability

Published Mar 6, 2019
·
Updated

A vulnerability was found in Python 2.7.x through 2.7.16 and 3.x through 3.7.2. An improper Handling of Unicode Encoding (with an incorrect netloc) during NFKC normalization could lead to an Information Disclosure (credentials, cookies, etc. that are cached against a given hostname) in the urllib.parse.urlsplit, urllib.parse.urlparse components. A specially crafted URL could be incorrectly parsed to locate cookies or authentication data and send that information to a different host than when parsed correctly.

References: https://bugs.python.org/issue36216 https://python-security.readthedocs.io/vuln/urlsplit-nfkc-normalization.html

Uptream Patch: https://github.com/python/cpython/pull/12201

Other sources

It was discovered that python's functions urllib.parse.urlsplit and urllib.parse.urlparse do not properly handle URLs encoded with Punycode/Internationalizing Domain Names in Applications (IDNA), which may result in a wrong domain name (specifically the netloc component of URL - user@domain:port) being returned by those functions. 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.

Python 2.7.x through 2.7.16 and 3.x through 3.7.2 is affected by: Improper Handling of Unicode Encoding (with an incorrect netloc) during NFKC normalization. The impact is: Information disclosure (credentials, cookies, etc. that are cached against a given hostname). The components are: urllib.parse.urlsplit, urllib.parse.urlparse. The attack vector is: A specially crafted URL could be incorrectly parsed to locate cookies or authentication data and send that information to a different host than when parsed correctly. This is fixed in: v2.7.17, v2.7.17rc1, v2.7.18, v2.7.18rc1; v3.5.10, v3.5.10rc1, v3.5.7, v3.5.8, v3.5.8rc1, v3.5.8rc2, v3.5.9; v3.6.10, v3.6.10rc1, v3.6.11, v3.6.11rc1, v3.6.12, v3.6.9, v3.6.9rc1; v3.7.3, v3.7.3rc1, v3.7.4, v3.7.4rc1, v3.7.4rc2, v3.7.5, v3.7.5rc1, v3.7.6, v3.7.6rc1, v3.7.7, v3.7.7rc1, v3.7.8, v3.7.8rc1, v3.7.9.

Affected Software

60 affected componentsFixes available
redhat/python<0:2.6.6-68.el6_10
0:2.6.6-68.el6_10
redhat/python<0:2.7.5-77.el7_6
0:2.7.5-77.el7_6
redhat/python<0:2.7.5-59.el7_4
0:2.7.5-59.el7_4
redhat/python<0:2.7.5-70.el7_5
0:2.7.5-70.el7_5
redhat/python3<0:3.6.8-2.el8_0
0:3.6.8-2.el8_0
redhat/rh-python36-python<0:3.6.3-4.el6
0:3.6.3-4.el6
redhat/python27-python<0:2.7.13-4.el6
0:2.7.13-4.el6
redhat/rh-python35-python<0:3.5.1-12.el6
0:3.5.1-12.el6
redhat/rh-python36-python<0:3.6.3-7.el7
0:3.6.3-7.el7
redhat/python27-python<0:2.7.13-6.el7
0:2.7.13-6.el7
redhat/rh-python35-python<0:3.5.1-12.el7
0:3.5.1-12.el7
redhat/redhat-release-virtualization-host<0:4.2-8.4.el7
0:4.2-8.4.el7
redhat/redhat-virtualization-host<0:4.2-20190411.1.el7_6
0:4.2-20190411.1.el7_6
redhat/rhvm-appliance<0:4.2-20190411.1.el7
0:4.2-20190411.1.el7
redhat/python<3.5.7
3.5.7
redhat/python<3.7.3
3.7.3
debian/python2.7
2.7.18-8+deb11u1
Python Python>=2.7.0<2.7.17
Python Python>=3.0.0<3.4.10
Python Python>=3.5.0<3.5.7
Python Python>=3.6.0<3.6.9
Python Python>=3.7.0<3.7.3
Fedoraproject Fedora=28
Fedoraproject Fedora=29
Fedoraproject Fedora=30
Fedoraproject Fedora=31
openSUSE Leap=15.0
openSUSE Leap=15.1
openSUSE Leap=42.3
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.04
redhat OpenShift Container Platform=3.11
redhat Enterprise Linux=7.5
redhat Enterprise Linux=8.0
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Eus=7.5
redhat Enterprise Linux Eus=8.1
redhat Enterprise Linux Eus=8.2
redhat Enterprise Linux Eus=8.4
redhat Enterprise Linux Eus=8.6
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server Aus=7.4
redhat Enterprise Linux Server Aus=8.2
redhat Enterprise Linux Server Aus=8.4
redhat Enterprise Linux Server Eus=5.6
redhat Enterprise Linux Server Tus=7.4
redhat Enterprise Linux Server Tus=8.2
redhat Enterprise Linux Server Tus=8.4
redhat Enterprise Linux Server Tus=8.6
redhat Enterprise Linux Workstation=6.0
All of the following
redhat Virtualization=4.0
redhat Enterprise Linux=7.0
Oracle Sun ZFS Storage Appliance Kit=8.8.6
redhat Virtualization=4.0
redhat Enterprise Linux=7.0

Event History

Mar 6, 2019
CVE Published
12:00 AM
Mar 8, 2019
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Feb 20, 2026
Data Sourced
via Ubuntu·07:03 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·07:03 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2019-9636?

CVE-2019-9636 is considered a moderate severity vulnerability due to potential information disclosure.

2

How do I fix CVE-2019-9636?

To fix CVE-2019-9636, update to Python version 2.7.17 or higher, or 3.5.7, 3.6.9, or 3.7.3.

3

What systems are affected by CVE-2019-9636?

CVE-2019-9636 affects Python versions 2.7.x from 2.7.0 to 2.7.16 and 3.x from 3.0.0 to 3.7.2.

4

What are the potential impacts of CVE-2019-9636?

The potential impact of CVE-2019-9636 includes the disclosure of sensitive information such as credentials and cookies.

5

Is there a workaround for CVE-2019-9636?

There is no recommended workaround for CVE-2019-9636, and users are encouraged to apply the updates as soon as possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203