CVE-2019-17514: python Incorrect Calculation
Vulnerability summary
CVE-2019-17514 is a high (CVSS 7.5) Incorrect Calculation vulnerability in python. EPSS estimates a 4.67% chance of exploitation in the next 30 days, higher than 91.7% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 3Timeline
- 12-10-2019PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
4.67%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
No change 0.00 pp
From 4.67% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundBash
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu6 products
- python2.7< 2.7.6-8ubuntu0.6+esm6 | < 2.7.12-1ubuntu0~16.04.12 | < 2.7.17-1~18.04ubuntu1.1 | < 2.7.18-1~20.04.1 | All versions (No fix recorded)
- python3.4< 3.4.3-1ubuntu1~14.04.7+esm7
- python3.5< 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1 | < 3.5.2-2ubuntu0~16.04.11
- python3.6< 3.6.9-1~18.04ubuntu1.1
- python3.7< 3.7.5-2ubuntu1~18.04.2+esm3
Python1 product
- pythonEOL3.6.0 | 3.7.0 | 3.8.0
2 vendors · 7 products
References
19 links- web.archive.org/web/20150906020027/https://docs.python.org/2.7/library/glob.htmlX Refsource MISCREPORTVendor Advisory
- web.archive.org/web/20160526201356/https://docs.python.org/2.7/library/glob.htmlX Refsource MISCREPORTVendor Advisory
- web.archive.org/web/20150822013622/https://docs.python.org/3/library/glob.htmlX Refsource MISCREPORTVendor Advisory
- web.archive.org/web/20160309211341/https://docs.python.org/3/library/glob.htmlX Refsource MISCREPORTVendor Advisory
- github.com/bminor/bash/blob/ac50fbac377e32b98d2de396f016ea81e8ee9961/pathexp.cX Refsource MISCREPORTExploitThird Party Advisory
- github.com/bminor/bash/blob/ac50fbac377e32b98d2de396f016ea81e8ee9961/pathexp.cX Refsource MISCREPORTExploitThird Party Advisory
- twitter.com/LucasCMoore/status/1181615421922824192X Refsource MISCREPORTIssue TrackingThird Party Advisory
- pubs.acs.org/doi/suppl/10.1021/acs.orglett.9b03216/suppl_file/ol9b03216_si_002.zipX Refsource MISCREPORTThird Party Advisory
Show all 19 references
- security.netapp.com/advisory/ntap-20191107-0005/X Refsource CONFIRM