Vulnerability Name:

CVE-2019-17514 (CCN-169085)

Assigned:2018-04-13
Published:2018-04-13
Updated:2020-07-27
Summary: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.
CVSS v3 Severity:7.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N)
6.5 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): High
Availibility (A): None
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:5.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-noinfo
CWE-682
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2019-17514

Source: CCN
Type: Python Issue33275
glob.glob should explicitly note that results aren't sorted

Source: MISC
Type: Issue Tracking, Vendor Advisory
https://bugs.python.org/issue33275

Source: XF
Type: UNKNOWN
python-cve201917514-weak-security(169085)

Source: MISC
Type: Exploit, Third Party Advisory
https://github.com/bminor/bash/blob/ac50fbac377e32b98d2de396f016ea81e8ee9961/pathexp.c#L380

Source: MISC
Type: Exploit, Third Party Advisory
https://github.com/bminor/bash/blob/ac50fbac377e32b98d2de396f016ea81e8ee9961/pathexp.c#L405

Source: MISC
Type: Third Party Advisory
https://pubs.acs.org/doi/full/10.1021/acs.orglett.9b03216

Source: MISC
Type: Third Party Advisory
https://pubs.acs.org/doi/suppl/10.1021/acs.orglett.9b03216/suppl_file/ol9b03216_si_002.zip

Source: CONFIRM
Type: UNKNOWN
https://security.netapp.com/advisory/ntap-20191107-0005/

Source: MISC
Type: Third Party Advisory
https://twitter.com/chris_bloke/status/1181997278136958976

Source: MISC
Type: Issue Tracking, Third Party Advisory
https://twitter.com/LucasCMoore/status/1181615421922824192

Source: UBUNTU
Type: UNKNOWN
USN-4428-1

Source: MISC
Type: Vendor Advisory
https://web.archive.org/web/20150822013622/https://docs.python.org/3/library/glob.html

Source: MISC
Type: Vendor Advisory
https://web.archive.org/web/20150906020027/https://docs.python.org/2.7/library/glob.html

Source: MISC
Type: Vendor Advisory
https://web.archive.org/web/20160309211341/https://docs.python.org/3/library/glob.html

Source: MISC
Type: Vendor Advisory
https://web.archive.org/web/20160526201356/https://docs.python.org/2.7/library/glob.html

Source: MISC
Type: Press/Media Coverage, Third Party Advisory
https://www.vice.com/en_us/article/zmjwda/a-code-glitch-may-have-caused-errors-in-more-than-100-published-studies

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2019-17514

Vulnerable Configuration:Configuration 1:
  • cpe:/a:python:python:3.6.0:-:*:*:*:*:*:*
  • OR cpe:/a:python:python:3.7.0:-:*:*:*:*:*:*
  • OR cpe:/a:python:python:3.8.0:-:*:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:python:python:2.7.0:*:*:*:*:*:*:*
  • OR cpe:/a:python:python:3.7:*:*:*:*:*:*:*
  • OR cpe:/a:python:python:3.6.0:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.disco:def:2019175140000000
    V
    CVE-2019-17514 on Ubuntu 19.04 (disco) - low.
    2019-10-12
    oval:com.ubuntu.bionic:def:2019175140000000
    V
    CVE-2019-17514 on Ubuntu 18.04 LTS (bionic) - low.
    2019-10-12
    oval:com.ubuntu.xenial:def:2019175140000000
    V
    CVE-2019-17514 on Ubuntu 16.04 LTS (xenial) - low.
    2019-10-12
    BACK
    python python 3.6.0 -
    python python 3.7.0 -
    python python 3.8.0 -
    python python 2.7.0
    python python 3.7
    python python 3.6.0 -