CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2018 · Python

CVE-2018-1000802
Python vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Python, Ubuntu Linux, Debian Linux, Leap. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Python runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Python products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.