Integer Overflow or Wraparound Affecting python-tk package, versions <2.7.17-7.32.2


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
2.62% (85th 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 IDSNYK-SLES151-PYTHONTK-2727221
  • published14 Apr 2022
  • disclosed24 Jan 2020

Introduced: 24 Jan 2020

CVE-2017-1000158  (opens in a new tab)
CWE-190  (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.

CPython (aka Python) up to 2.7.13 is vulnerable to an integer overflow in the PyString_DecodeEscape function in stringobject.c, resulting in heap-based buffer overflow (and possible arbitrary code execution)

CVSS Base Scores

version 3.1