python: potentially misleading information about whether sorting in library/glob.html
Published Oct 12, 2019
7.5
HIGHCVSS 3.1
EPSS 4.67%
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 5
python
Not affected
Red Hat Enterprise Linux 6
python
Not affected
Red Hat Enterprise Linux 7
python
Not affected
Red Hat Enterprise Linux 7
python3
Not affected
Red Hat Enterprise Linux 8
python27:2.7/python2
Not affected
Red Hat Enterprise Linux 8
python3
Not affected
Red Hat Enterprise Linux 8
python36:3.6/python36
Not affected
Red Hat Enterprise Linux 8
python38:3.8/python38
Not affected
Red Hat Software Collections
python27-python
Not affected
Red Hat Software Collections
rh-python36-python
Not affected
Red Hat Software Collections
rh-python38-python
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | python | Not affected | n/a |
| Red Hat Enterprise Linux 6 | python | Not affected | n/a |
| Red Hat Enterprise Linux 7 | python | Not affected | n/a |
| Red Hat Enterprise Linux 7 | python3 | Not affected | n/a |
| Red Hat Enterprise Linux 8 | python27:2.7/python2 | Not affected | n/a |
| Red Hat Enterprise Linux 8 | python3 | Not affected | n/a |
| Red Hat Enterprise Linux 8 | python36:3.6/python36 | Not affected | n/a |
| Red Hat Enterprise Linux 8 | python38:3.8/python38 | Not affected | n/a |
| Red Hat Software Collections | python27-python | Not affected | n/a |
| Red Hat Software Collections | rh-python36-python | Not affected | n/a |
| Red Hat Software Collections | rh-python38-python | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (19)
- https://access.redhat.com/security/cve/CVE-2019-17514 Vendor Advisory
- https://bugs.python.org/issue33275 x_refsource_MISCIssue TrackingVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1824446 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-7866 Advisory
- https://github.com/bminor/bash/blob/ac50fbac377e32b98d2de396f016ea81e8ee9961/pathexp.c#L380 x_refsource_MISCExploitThird Party Advisory
- https://github.com/bminor/bash/blob/ac50fbac377e32b98d2de396f016ea81e8ee9961/pathexp.c#L405 x_refsource_MISCExploitThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2019-17514
- https://pubs.acs.org/doi/full/10.1021/acs.orglett.9b03216 x_refsource_MISCThird Party Advisory
- https://pubs.acs.org/doi/suppl/10.1021/acs.orglett.9b03216/suppl_file/ol9b03216_si_002.zip x_refsource_MISCThird Party Advisory
- https://security.netapp.com/advisory/ntap-20191107-0005/ x_refsource_CONFIRM
- https://twitter.com/LucasCMoore/status/1181615421922824192 x_refsource_MISCIssue TrackingThird Party Advisory
- https://twitter.com/chris_bloke/status/1181997278136958976 x_refsource_MISCThird Party Advisory
- https://usn.ubuntu.com/4428-1/ vendor-advisoryx_refsource_UBUNTU
- https://web.archive.org/web/20150822013622/https://docs.python.org/3/library/glob.html x_refsource_MISCVendor Advisory
- https://web.archive.org/web/20150906020027/https://docs.python.org/2.7/library/glob.html x_refsource_MISCVendor Advisory
- https://web.archive.org/web/20160309211341/https://docs.python.org/3/library/glob.html x_refsource_MISCVendor Advisory
- https://web.archive.org/web/20160526201356/https://docs.python.org/2.7/library/glob.html x_refsource_MISCVendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2019-17514
- https://www.vice.com/en_us/article/zmjwda/a-code-glitch-may-have-caused-errors-in-more-than-100-published-studies x_refsource_MISCPress/Media CoverageThird Party Advisory
Change history (0)
No recorded changes yet.