Overview
- 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.
- Source
- cve@mitre.org
- NVD status
- Modified
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 7.5
- Impact score
- 3.6
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Severity
- HIGH
CVSS 2.0
- Type
- Primary
- Base score
- 5
- Impact score
- 2.9
- Exploitability score
- 10
- Vector string
- AV:N/AC:L/Au:N/C:N/I:P/A:N
Weaknesses
- nvd@nist.gov
- CWE-682
Social media
- Hype score
- Not currently trending
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:python:python:3.6.0:-:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "D1ED4F49-515C-4848-9517-0793361EE8D7" }, { "criteria": "cpe:2.3:a:python:python:3.7.0:-:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "5BFDF292-ACD2-4225-95B3-51343D2C5E85" }, { "criteria": "cpe:2.3:a:python:python:3.8.0:-:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "707791F5-F864-4DE1-8E54-58A00E17B85F" } ], "operator": "OR" } ] } ]