Insufficiently protected credentials in python-pillow python
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 19 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-522.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| python-pillow | python | affects 2.7, 3.5, 3.6, 3.7, >= v3.8.0a4 and < v3.8.0b1 | — | No fix listed | CNA |
- python Vendorpython-pillow Affected affects 2.7, 3.5, 3.6, 3.7, >= v3.8.0a4 and < v3.8.0b1 Fixed in — No fix listed CNA
CPE configurations NVD · 25
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:python:*:*:*:*:*:*:*:* | 2.7.0 to before 2.7.17; 3.5.0 to before 3.5.8; 3.6.0 to before 3.6.9; 3.7.0 to before 3.7.4 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.8.0:alpha4:*:*:*:*:*:* | 3.8.0 alpha4 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.8.0:beta1:*:*:*:*:*:* | 3.8.0 beta1 | Vulnerable | python-pillow |
| cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_eus:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
- cpe:2.3:a:python:python:*:*:*:*:*:*:*:* Versions 2.7.0 to before 2.7.17; 3.5.0 to before 3.5.8; 3.6.0 to before 3.6.9; 3.7.0 to before 3.7.4 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.8.0:alpha4:*:*:*:*:*:* Versions 3.8.0 alpha4 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.8.0:beta1:*:*:*:*:*:* Versions 3.8.0 beta1 Vulnerable ·python-pillow
- cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_eus:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
Show 15 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:* | 15.0 | Vulnerable | openSUSE |
| cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* | 15.1 | Vulnerable | openSUSE |
| cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* | 29 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* | 30 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* | 31 | Vulnerable | Fedoraproject |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* | 19.04 | Vulnerable | Canonical |
| cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Running on | Red Hat |
| cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
| cpe:2.3:a:netapp:converged_systems_advisor_agent:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | NetApp |
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:* Versions 15.0 Vulnerable ·openSUSE
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* Versions 15.1 Vulnerable ·openSUSE
- cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:* Versions 29 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:* Versions 30 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* Versions 31 Vulnerable ·Fedoraproject
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* Versions 19.04 Vulnerable ·Canonical
- cpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Running on ·Red Hat
- cpe:2.3:a:netapp:cloud_backup:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
- cpe:2.3:a:netapp:converged_systems_advisor_agent:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·NetApp
Remediation
Red Hat 3 advisories
- RHSA-2019:2437 Released 2019-08-12 · Red Hat rating ImportantRed Hat Virtualization security update
- RHEL 7-based RHEV-H for RHEV 4 (build requirements) imgbased-1.1.9-0.1.el7ev, ovirt-node-ng-4.3.5-0.20190717.0.el7ev, ovirt-node-ng-nodectl-4.3.5-0.20190717.0.el7ev +4
- Red Hat Virtualization 4 Hypervisor for RHEL 7 redhat-virtualization-host-4.3.5-20190722.0.el7_7, redhat-virtualization-host-image-update-4.3.5-20190722.0.el7_7
- RHSA-2019:1700 Released 2019-07-08 · Red Hat rating Importantpython27-python security update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) python27-python-2.7.16-6.el6, python27-python-debug-2.7.16-6.el6, python27-python-devel-2.7.16-6.el6 +4
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) python27-python-2.7.16-6.el7, python27-python-debug-2.7.16-6.el7, python27-python-devel-2.7.16-6.el7 +4
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) python27-python-2.7.16-6.el7, python27-python-debug-2.7.16-6.el7, python27-python-devel-2.7.16-6.el7 +4
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) python27-python-2.7.16-6.el7, python27-python-debug-2.7.16-6.el7, python27-python-devel-2.7.16-6.el7 +4
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) python27-python-2.7.16-6.el7, python27-python-debug-2.7.16-6.el7, python27-python-devel-2.7.16-6.el7 +4
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) python27-python-2.7.16-6.el6, python27-python-debug-2.7.16-6.el6, python27-python-devel-2.7.16-6.el6 +4
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) python27-python-2.7.16-6.el7, python27-python-debug-2.7.16-6.el7, python27-python-devel-2.7.16-6.el7 +4
- RHSA-2019:1587 Released 2019-06-20 · Red Hat rating Importantpython security update
- Red Hat Enterprise Linux Client (v. 7) python-2.7.5-80.el7_6, python-libs-2.7.5-80.el7_6
- Red Hat Enterprise Linux Client Optional (v. 7) python-debug-2.7.5-80.el7_6, python-devel-2.7.5-80.el7_6, python-test-2.7.5-80.el7_6 +2
- Red Hat Enterprise Linux ComputeNode (v. 7) python-2.7.5-80.el7_6, python-devel-2.7.5-80.el7_6, python-libs-2.7.5-80.el7_6
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) python-debug-2.7.5-80.el7_6, python-test-2.7.5-80.el7_6, python-tools-2.7.5-80.el7_6 +1
- Red Hat Enterprise Linux Server (v. 7) python-2.7.5-80.el7_6, python-devel-2.7.5-80.el7_6, python-libs-2.7.5-80.el7_6 +1
- Red Hat Enterprise Linux Server Optional (v. 7) python-debug-2.7.5-80.el7_6, python-test-2.7.5-80.el7_6, python-tools-2.7.5-80.el7_6 +1
- Red Hat Enterprise Linux Workstation (v. 7) python-2.7.5-80.el7_6, python-devel-2.7.5-80.el7_6, python-libs-2.7.5-80.el7_6
- Red Hat Enterprise Linux Workstation Optional (v. 7) python-debug-2.7.5-80.el7_6, python-test-2.7.5-80.el7_6, python-tools-2.7.5-80.el7_6 +1
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) python-2.7.5-80.el7_6, python-devel-2.7.5-80.el7_6, python-libs-2.7.5-80.el7_6
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) python-debug-2.7.5-80.el7_6, python-test-2.7.5-80.el7_6, python-tools-2.7.5-80.el7_6 +1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Software Collections | Affected | No fix planned: Out of support scope |
| RHEL 7-based RHEV-H for RHEV 4 (build requirements) | Fixed | RHSA-2019:2437 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2019:1587 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2019:1587 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2019:1587 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2019:1587 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2019:1587 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2019:1587 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2019:1587 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2019:1587 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2019:1587 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) | Fixed | RHSA-2019:1587 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2019:1700 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2019:1700 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2019:1700 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2019:1700 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) | Fixed | RHSA-2019:1700 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2019:1700 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2019:1700 |
| Red Hat Virtualization 4 Hypervisor for RHEL 7 | Fixed | RHSA-2019:2437 |
Not affected: 5 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2019-10160
- 2026-10-03 Alias added: GHSA-379v-rm3f-c48g
- 2026-10-07 CISA SSVC decision points changed
References
Patch 6
- 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
Advisory 21
- https://security.netapp.com/advisory/ntap-20190617-0003/
- RHSA-2019:1587
- [debian-lts-announce] 20190625 [SECURITY] [DLA 1834-1] python2.7 security update
- RHSA-2019:1700
- FEDORA-2019-7723d4774a
- FEDORA-2019-7df59302e0
- FEDORA-2019-9bfb4a3e4b
- FEDORA-2019-60a1defcd1
- RHSA-2019:2437
- openSUSE-SU-2019:1906
- USN-4127-2
- USN-4127-1
- FEDORA-2019-50772cf122
- FEDORA-2019-5dc275c9f2
- FEDORA-2019-2b1f72899a
- FEDORA-2019-b06ec6159b
- FEDORA-2019-d202cda4f8
- FEDORA-2019-57462fa10d
- openSUSE-SU-2020:0086
- [debian-lts-announce] 20200715 [SECURITY] [DLA 2280-1] python3.5 security update
- [debian-lts-announce] 20200822 [SECURITY] [DLA 2337-1] python2.7 security update
More python-pillow Python vulnerabilities
- TI-2016-01993 The DES and Triple DES ciphers, as used in the TLS, SSH, and IPSec protocols and other… CVSS 3.1HIGH 7.5
- TI-2022-24108 An XML External Entity (XXE) issue was discovered in Python through 3.9.1. CVSS 3.1CRITICAL 9.8
- TI-2022-17508 The Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and… CVSS 3.1CRITICAL 9.8
- TI-2021-02254 Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c… CVSS 3.1CRITICAL 9.8
- TI-2007-04413 Directory traversal vulnerability in the (1) extract and (2) extractall functions in the… CVSS 3.1CRITICAL 9.8
- TI-2014-00217 OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly… CVSS 3.1HIGH 7.4
Sources
- CVE-2019-10160 · CVE Program
- CVE-2019-10160 · NVD
- FIRST EPSS
- GHSA-379v-rm3f-c48g · GitHub Advisory Database · CC BY 4.0
- CVE-2019-10160 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences