Skip to content

CVE-2018-1000802 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_arch...

CriticalCVSS 9.8 EPSS 20.1%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
debian/python2.7(Debian:11) < 2.7.15-5 2.7.15-5
python >= 2.7.0, < 2.7.16 2.7.16
Canonical Ubuntu Linux = 12.04 No fix listed
Canonical Ubuntu Linux = 14.04 No fix listed
Canonical Ubuntu Linux = 16.04 No fix listed
Canonical Ubuntu Linux = 18.04 No fix listed
debian linux = 8.0 No fix listed
debian linux = 9.0 No fix listed
openSUSE leap = 15.1 No fix listed

References