Live threats

All CVEs / Python

CVE-2018-1000802Python

Critical 9.8 No auth neededHigh EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Python.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
pythonpython≥ 2.7.0 < 2.7.16
canonicalubuntu_linux12.04
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux18.04
debiandebian_linux8.0
debiandebian_linux9.0
opensuseleap15.1

Official sources

References

Links published by the sources. Open them with care.