library/glob.html in the Python 2 and 3 documentation before 2016 has potentially…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
library/glob.html in the Python 2 and 3 documentation before 2016 has potentially misleading information about whether sorting occurs, as demonstrated by irreproducible cancer-research results. NOTE: the effects of this documentation cross application domains, and thus it is likely that security-relevant code elsewhere is affected. This issue is not a Python implementation bug, and there are no reports that NMR researchers were specifically relying on library/glob.html. In other words, because the older documentation stated "finds all the pathnames matching a specified pattern according to the rules used by the Unix shell," one might have incorrectly inferred that the sorting that occurs in a Unix shell also occurred for glob.glob. There is a workaround in newer versions of Willoughby nmr-data_compilation-p2.py and nmr-data_compilation-p3.py, which call sort() directly.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:python:3.6.0:-:*:*:*:*:*:* | 3.6.0 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.7.0:-:*:*:*:*:*:* | 3.7.0 | Vulnerable | python-pillow |
| cpe:2.3:a:python:python:3.8.0:-:*:*:*:*:*:* | 3.8.0 | Vulnerable | python-pillow |
- cpe:2.3:a:python:python:3.6.0:-:*:*:*:*:*:* Versions 3.6.0 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.7.0:-:*:*:*:*:*:* Versions 3.7.0 Vulnerable ·python-pillow
- cpe:2.3:a:python:python:3.8.0:-:*:*:*:*:*:* Versions 3.8.0 Vulnerable ·python-pillow
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Red Hat
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-17514
- 2026-10-03 Alias added: GHSA-pgrc-mvjg-qfr7
References
Exploit 2
Advisory 11
- https://web.archive.org/web/20150906020027/https://docs.python.org/2.7/library/glob.html
- https://web.archive.org/web/20160526201356/https://docs.python.org/2.7/library/glob.html
- https://web.archive.org/web/20150822013622/https://docs.python.org/3/library/glob.html
- https://web.archive.org/web/20160309211341/https://docs.python.org/3/library/glob.html
- https://bugs.python.org/issue33275
- https://twitter.com/LucasCMoore/status/1181615421922824192
- https://pubs.acs.org/doi/suppl/10.1021/acs.orglett.9b03216/suppl_file/ol9b03216_si_002.zip
- https://pubs.acs.org/doi/full/10.1021/acs.orglett.9b03216
- https://www.vice.com/en_us/article/zmjwda/a-code-glitch-may-have-caused-errors-in-more-than-100-published-studies
- https://twitter.com/chris_bloke/status/1181997278136958976
- USN-4428-1
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-17514 · CVE Program
- CVE-2019-17514 · NVD
- FIRST EPSS
- GHSA-pgrc-mvjg-qfr7 · GitHub Advisory Database · CC BY 4.0
- CVE-2019-17514 · 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