CVE-2019-9636: 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.
Critical CVSS 9.8
- CVE id
- CVE-2019-9636
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Python Runtimes and servers |
>= 2.7.0, < 2.7.17 >= 3.0.0, < 3.4.10 >= 3.5.0, < 3.5.7 >= 3.6.0, < 3.6.9 >= 3.7.0, < 3.7.3 |
2.7.17, 3.4.10, 3.5.7, 3.6.9, 3.7.3 |
How to fix it
Upgrade Python to the fixed release of the line you run: 2.7.17, 3.4.10, 3.5.7, 3.6.9, 3.7.3.
python --version
- Install the patched Python release of your minor line (pyenv, the python image tag, or your OS packages) and recreate virtual environments.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2019-9636 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2019-9636
- Web: https://access.redhat.com/errata/RHBA-2019:0763
- Web: https://access.redhat.com/errata/RHBA-2019:0764
- Web: https://access.redhat.com/errata/RHBA-2019:0959
- Web: https://access.redhat.com/errata/RHSA-2019:0710
- Web: https://access.redhat.com/errata/RHSA-2019:0765
- Web: https://access.redhat.com/errata/RHSA-2019:0806
- Web: https://access.redhat.com/errata/RHSA-2019:0902
- Web: https://access.redhat.com/errata/RHSA-2019:0981
- Web: https://access.redhat.com/errata/RHSA-2019:0997
- Web: https://access.redhat.com/errata/RHSA-2019:1467
- Web: https://access.redhat.com/errata/RHSA-2019:2980
- Web: https://access.redhat.com/errata/RHSA-2019:3170
- Web: https://bugs.python.org/issue36216
- Web: https://github.com/python/cpython/pull/12201
- Web: https://lists.debian.org/debian-lts-announce/2019/06/msg00022.html
- Web: https://lists.debian.org/debian-lts-announce/2019/06/msg00023.html
- Web: https://lists.debian.org/debian-lts-announce/2020/07/msg00011.html
- Web: https://lists.debian.org/debian-lts-announce/2020/08/msg00034.html
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2ORNTF62QPLMJXIQ7KTZQ2776LMIXEKL/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.