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
02 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
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 20.12% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 97.2% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-08.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-09-18 00:00Z8 YR AGO
- Last updated
- 2026-10-08 21:03Z20 DAYS AGO
- Reserved
- 2018-08-30
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-77Improper Neutralization of Special Elements used in a Command ('Command Injection')Class
- Data version
- 5.2
- Document digest
- 8af3f07d10a9b1c8d7d9fe41195d1ba8ad0159744dc831e85f92985741308136
05 Affected products
06 References
- www.debian.orgDSA-4306https://www.debian.org/security/2018/dsa-4306
- lists.debian.org[debian-lts-announce] 20180926 [SECURITY] [DLA 1520-1] python3.4 security updatehttps://lists.debian.org/debian-lts-announce/2018/09/msg00031.html
- usn.ubuntu.comUSN-3817-2https://usn.ubuntu.com/3817-2/
- github.comhttps://github.com/python/cpython/pull/8985/commits/add531a1e55b0a739b0f42582f1c9747e5649ace
- mega.nzhttps://mega.nz/#%21JUFiCC4R%21mq-jQ8ySFwIhX6WMDujaZuNBfttDVt7DETlfOIQE1ig
- github.comhttps://github.com/python/cpython/pull/8985
- usn.ubuntu.comUSN-3817-1https://usn.ubuntu.com/3817-1/
- bugs.python.orghttps://bugs.python.org/issue34540
- lists.debian.org[debian-lts-announce] 20180925 [SECURITY] [DLA 1519-1] python2.7 security updatehttps://lists.debian.org/debian-lts-announce/2018/09/msg00030.html
- lists.opensuse.orgopenSUSE-SU-2020:0086http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20230309-0002/
07 Fixed in
Debian 11
- python2.7 Fixed in 2.7.15-5
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- python2.7 Fixed in 2.7.6-8ubuntu0.5
- python3.4 Fixed in 3.4.3-1ubuntu1~14.04.7
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- python2.7 Fixed in 2.7.12-1ubuntu0~16.04.4
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- python2.7 Fixed in 2.7.15~rc1-1ubuntu0.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.