{"id":"CVE-2019-17514","published":"2019-10-12T12:07:23Z","modified":"2024-08-05T01:40:15Z","title":"library/glob.html in the Python 2 and 3 documentation before 2016 has potentially misleading information about whether…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04671,"percentile":0.91978,"provenance":"source"},"cwes":[],"references":[{"url":"https://web.archive.org/web/20150906020027/https://docs.python.org/2.7/library/glob.html","tags":["x_refsource_MISC"]},{"url":"https://web.archive.org/web/20160526201356/https://docs.python.org/2.7/library/glob.html","tags":["x_refsource_MISC"]},{"url":"https://web.archive.org/web/20150822013622/https://docs.python.org/3/library/glob.html","tags":["x_refsource_MISC"]},{"url":"https://web.archive.org/web/20160309211341/https://docs.python.org/3/library/glob.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/bminor/bash/blob/ac50fbac377e32b98d2de396f016ea81e8ee9961/pathexp.c#L380","tags":["x_refsource_MISC"]},{"url":"https://github.com/bminor/bash/blob/ac50fbac377e32b98d2de396f016ea81e8ee9961/pathexp.c#L405","tags":["x_refsource_MISC"]},{"url":"https://bugs.python.org/issue33275","tags":["x_refsource_MISC"]},{"url":"https://twitter.com/LucasCMoore/status/1181615421922824192","tags":["x_refsource_MISC"]},{"url":"https://pubs.acs.org/doi/suppl/10.1021/acs.orglett.9b03216/suppl_file/ol9b03216_si_002.zip","tags":["x_refsource_MISC"]},{"url":"https://pubs.acs.org/doi/full/10.1021/acs.orglett.9b03216","tags":["x_refsource_MISC"]},{"url":"https://www.vice.com/en_us/article/zmjwda/a-code-glitch-may-have-caused-errors-in-more-than-100-published-studies","tags":["x_refsource_MISC"]},{"url":"https://twitter.com/chris_bloke/status/1181997278136958976","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20191107-0005/","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/4428-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":18.4}]},"summary":{"text":"The Python 2 and 3 documentation for the glob module (library/glob.html) before 2016 misleadingly suggested that glob.glob results are sorted in the way a Unix shell sorts them, a claim that is not true for the implementation. An attacker would need no network access, authentication, or user interaction to exploit this, since the flaw is a documentation issue rather than a code vulnerability, and its security impact depends on whether other code relies on that incorrect assumption about ordering.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:12Z"},"euvd":{"id":"EUVD-2019-7866","exploited":false,"provenance":"source"}}