CVE-2018-1000802
Reported by mitre · Published September 18, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| python3.4 | Ubuntu:14.04:LTS | 3.4.3-1ubuntu1~14.04.7 |
| python2.7 | Ubuntu:14.04:LTS | 2.7.6-8ubuntu0.5 |
| python | python | 2.7.16 |
| python2.7 | Ubuntu:18.04:LTS | 2.7.15~rc1-1ubuntu0.1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Sep 18, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (4 in total, the first dated here)
- Mar 6, 2026 Security Advisory (6 in total, the first dated here)
- Sep 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-1000802
vulnetix vdb fixes CVE-2018-1000802
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-1000802/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- DSA-4306 vendor-advisory
- [debian-lts-announce] 20180926 [SECURITY] [DLA 1520-1] python3.4 security update mailing-list
- USN-3817-2 vendor-advisory
- USN-3817-1 vendor-advisory
- [debian-lts-announce] 20180925 [SECURITY] [DLA 1519-1] python2.7 security update mailing-list
- openSUSE-SU-2020:0086 vendor-advisory