Off-by-one Error 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
12.96% (96th 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-2718444
  • published14 Apr 2022
  • disclosed24 Jan 2020

Introduced: 24 Jan 2020

CVE-2007-2052  (opens in a new tab)
CWE-193  (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.

Off-by-one error in the PyLocale_strxfrm function in Modules/_localemodule.c for Python 2.4 and 2.5 causes an incorrect buffer size to be used for the strxfrm function, which allows context-dependent attackers to read portions of memory via unknown manipulations that trigger a buffer over-read due to missing null termination.

References

CVSS Scores

version 3.1