CVE-2018-1000802

critical

Description

Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in shutil module (make_archive function) that can result in Denial of service, Information gain via injection of arbitrary files on the system or entire drive. This attack appear to be exploitable via Passage of unfiltered user input to the function. This vulnerability appears to have been fixed in after commit add531a1e55b0a739b0f42582f1c9747e5649ace.

References

https://mega.nz/#!JUFiCC4R!mq-jQ8ySFwIhX6WMDujaZuNBfttDVt7DETlfOIQE1ig

https://github.com/python/cpython/pull/8985/commits/add531a1e55b0a739b0f42582f1c9747e5649ace

https://github.com/python/cpython/pull/8985

https://bugs.python.org/issue34540

https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html

https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html

https://www.debian.org/security/2018/dsa-4306

https://usn.ubuntu.com/3817-1/

https://usn.ubuntu.com/3817-2/

http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html

Details

Source: MITRE

Published: 2018-09-18

Updated: 2022-06-27

Type: CWE-77

Risk Information

CVSS v2

Base Score: 7.5

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 10

Severity: HIGH

CVSS v3

Base Score: 9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 3.9

Severity: CRITICAL