CVE-2018-1000802Python
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Python · Python We alert you by email or Slack (account required).
- Priority
- 76
- CVSS 3.1
- 9.8
- EPSS
- 20.1% probability of exploitation in 30 days · percentile 98
- Auth required
- No
- Published
- Sep 18, 2018
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-77
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Python.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| python | python | ≥ 2.7.0 < 2.7.16 |
| canonical | ubuntu_linux | 12.04 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 18.04 |
| debian | debian_linux | 8.0 |
| debian | debian_linux | 9.0 |
| opensuse | leap | 15.1 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Mailing List Third Party Advisory
- bugs.python.org Issue Tracking Patch Vendor Advisory
- github.com Patch Vendor Advisory
- github.com Patch Vendor Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- mega.nz
- security.netapp.com
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.debian.org Third Party Advisory