CVE-2018-1000802

python: Command injection in the shutil module

Published Sep 18, 2018 CVSS 3.1 · 9.8 Critical EPSS 20.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1519-1 python2.7 security update
Debian DLA Debian DLA DLA-1520-1 python3.4 security update
Debian DSA Debian DSA DSA-4306-1 python2.7 security update
Ubuntu USN Ubuntu USN USN-3817-1 Python vulnerabilities
Ubuntu USN Ubuntu USN USN-3817-2 Python vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 8, 2026, 9:03 PM
Reserved
Aug 30, 2018, 12:00 AM
Status
Modified
Published
Sep 18, 2018, 5:29 PM
Modified
Oct 8, 2026, 9:17 PM
Severity
Moderate
Public date
Aug 29, 2018, 12:00 AM