CVE-2018-1000802
python: Command injection in the shutil module
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · August 29, 2018
Updated · October 9, 2026
Description
It was discovered that the shutil module of python does not properly sanitize input when creating a zip file on Windows. An attacker could use this flaw to cause a denial of service or add unintended files to the generated archive.
Statement
This issue did not affect the versions of python as shipped with Red Hat Enterprise Linux 5, 6 and 7 as Linux does not use the vulnerable code.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 6.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')