Arbitrary Command Injection Affecting python-tk package, versions <2.7.17-7.32.2


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

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-SLES151-PYTHONTK-2729378
  • published14 Apr 2022
  • disclosed24 Jan 2020

Introduced: 24 Jan 2020

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

How to fix?

Upgrade SLES:15.1 python-tk to version 2.7.17-7.32.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-tk package and not the python-tk package as distributed by SLES. See How to fix? for SLES:15.1 relevant fixed versions and status.

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