{"id":"CVE-2018-1000802","published":"2018-09-18T00:00:00Z","modified":"2026-10-08T21:03:31Z","title":"Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.20126,"percentile":0.97517,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.debian.org/security/2018/dsa-4306","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00031.html","tags":["mailing-list"]},{"url":"https://usn.ubuntu.com/3817-2/","tags":["vendor-advisory"]},{"url":"https://github.com/python/cpython/pull/8985/commits/add531a1e55b0a739b0f42582f1c9747e5649ace","tags":[]},{"url":"https://mega.nz/#%21JUFiCC4R%21mq-jQ8ySFwIhX6WMDujaZuNBfttDVt7DETlfOIQE1ig","tags":[]},{"url":"https://github.com/python/cpython/pull/8985","tags":[]},{"url":"https://usn.ubuntu.com/3817-1/","tags":["vendor-advisory"]},{"url":"https://bugs.python.org/issue34540","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00030.html","tags":["mailing-list"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20230309-0002/","tags":[]}],"priority":{"score":24.5,"factors":[{"name":"EPSS percentile","points":19.5},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2018-09-14","earliestUrl":"https://github.com/tna0y/CVE-2018-1000802-PoC","repos":[{"name":"tna0y/CVE-2018-1000802-PoC","url":"https://github.com/tna0y/CVE-2018-1000802-PoC","stars":3,"created":"2018-09-14"}]},"first":{"date":"2018-09-14","source":"PoC-in-GitHub","url":"https://github.com/tna0y/CVE-2018-1000802-PoC"},"provenance":"source"},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-10-08T21:01:55.306737Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is a command injection weakness (CWE-77, improper neutralization of special elements used in a command) in the make_archive function of the shutil module in Python (CPython) version 2.7. An attacker who can get unfiltered user input passed to that function may be able to cause denial of service or gain information by injecting arbitrary files into the system or an entire drive.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:42:25Z"},"euvd":{"id":"EUVD-2018-2006","exploited":false,"provenance":"source"}}