Vulnerability in Python
CVE-2019-17514
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.047 (91.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 91.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.047 · newest: 0.047 · change: 0.000
Affected products
- Python — versions 3.6.0, 3.7.0, 3.8.0
Weakness classification (CWE)
References
- web.archive.org/web/20150906020027/https://docs.python.org/2.7/library/glob.html (Vendor Advisory)
- web.archive.org/web/20160526201356/https://docs.python.org/2.7/library/glob.html (Vendor Advisory)
- web.archive.org/web/20150822013622/https://docs.python.org/3/library/glob.html (Vendor Advisory)
- web.archive.org/web/20160309211341/https://docs.python.org/3/library/glob.html (Vendor Advisory)
- github.com/bminor/bash/blob/ac50fbac377e32b98d2de396f016ea81e8ee9961/pathexp.c (Exploit, Third Party Advisory)
- github.com/bminor/bash/blob/ac50fbac377e32b98d2de396f016ea81e8ee9961/pathexp.c (Exploit, Third Party Advisory)
- bugs.python.org/issue33275 (Issue Tracking, Vendor Advisory)
- twitter.com/LucasCMoore/status/1181615421922824192 (Third Party Advisory, Issue Tracking)
- pubs.acs.org/doi/suppl/10.1021/acs.orglett.9b03216/suppl_file/ol9b03216_si_002… (Third Party Advisory)
- pubs.acs.org/doi/full/10.1021/acs.orglett.9b03216 (Third Party Advisory)
Frequently asked questions
- What is CVE-2019-17514?
- CVE-2019-17514 is a high-severity vulnerability in Python, classified under Incorrect Calculation. CVSS score: 7.5/10. Published 2019-10-12.
- How severe is CVE-2019-17514?
- High severity. CVSS v3 base score is 7.5 out of 10.