Arbitrary Command Injection Affecting python package, versions [,2.7)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
1.65% (88th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PYTHON-2317708
  • published14 Dec 2021
  • disclosed18 Sept 2018
  • creditUnknown

Introduced: 18 Sep 2018

CVE-2018-1000802  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade python to version 2.7 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Command Injection. 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.

CVSS Scores

version 3.1