CVE-2019-17514
library/glob.html in the Python 2 and 3 documentation before 2016 has potentially misleading information about whether sorting occurs, as…
- Published
- Updated
- Reserved
- Assigned by
- mitre
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 4.7% · top 8.2% of all CVEs (6 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
References (14)
- https://web.archive.org/web/20150906020027/https://docs.python.org/2.7/library/glob.html (opens in a new tab)x_refsource_MISCx_transferred
- https://web.archive.org/web/20160526201356/https://docs.python.org/2.7/library/glob.html (opens in a new tab)x_refsource_MISCx_transferred
- https://web.archive.org/web/20150822013622/https://docs.python.org/3/library/glob.html (opens in a new tab)x_refsource_MISCx_transferred
- https://web.archive.org/web/20160309211341/https://docs.python.org/3/library/glob.html (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/bminor/bash/blob/ac50fbac377e32b98d2de396f016ea81e8ee9961/pathexp.c#L380 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/bminor/bash/blob/ac50fbac377e32b98d2de396f016ea81e8ee9961/pathexp.c#L405 (opens in a new tab)x_refsource_MISCx_transferred
- https://bugs.python.org/issue33275 (opens in a new tab)x_refsource_MISCx_transferred
- https://twitter.com/LucasCMoore/status/1181615421922824192 (opens in a new tab)x_refsource_MISCx_transferred
- https://pubs.acs.org/doi/suppl/10.1021/acs.orglett.9b03216/suppl_file/ol9b03216_si_002.zip (opens in a new tab)x_refsource_MISCx_transferred
- https://pubs.acs.org/doi/full/10.1021/acs.orglett.9b03216 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.vice.com/en_us/article/zmjwda/a-code-glitch-may-have-caused-errors-in-more-than-100-published-studies (opens in a new tab)x_refsource_MISCx_transferred
- https://twitter.com/chris_bloke/status/1181997278136958976 (opens in a new tab)x_refsource_MISCx_transferred
- https://security.netapp.com/advisory/ntap-20191107-0005/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- USN-4428-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2019-17514)Record last updated .