Back

HIGH

python: potentially misleading information about whether sorting in library/glob.html

Published Oct 12, 2019

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

Remediation

No remediation recorded yet.

Weaknesses (1)

References (19)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Oct 12, 2019
Updated Aug 5, 2024
Reserved Oct 12, 2019
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity n/a
Public date Oct 12, 2019
ENISA EUVD
Assigner mitre
Published Oct 12, 2019
Updated Aug 5, 2024
Exploited since n/a
EUVD-2019-7866