What’s Vulnerable › Vulnerabilities
CVE-2018-1000802
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 20.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-09-18 · updated 2026-10-08
- Weakness: CWE-77
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
- Canonical Ubuntu Linux: 12.04, 14.04, 16.04, 18.04
- Debian Linux: 8.0, 9.0
- openSUSE Leap: 15.1
- Python: from 2.7.0 before 2.7.16 — fixed in 2.7.16
How to fix
Upgrade to a fixed version: Python 2.7.16. Check the vendor advisory for mitigations.
References
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- https://bugs.python.org/issue34540
- https://github.com/python/cpython/pull/8985
- https://github.com/python/cpython/pull/8985/commits/add531a1e55b0a739b0f42582f1c9747e5649ace
- https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html
- https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html
- https://mega.nz/#%21JUFiCC4R%21mq-jQ8ySFwIhX6WMDujaZuNBfttDVt7DETlfOIQE1ig
- https://security.netapp.com/advisory/ntap-20230309-0002/
- https://usn.ubuntu.com/3817-1/
- https://usn.ubuntu.com/3817-2/
- https://www.debian.org/security/2018/dsa-4306
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
Get alerted when CVE-2018-1000802 or the next vulnerability affects your stack