Race Condition Affecting python3-tkinter package, versions <0:3.7.16-1.amzn2.0.13


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.8% (52nd 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-AMZN2-PYTHON3TKINTER-8747347
  • published26 Feb 2025
  • disclosed17 Jun 2024

Introduced: 17 Jun 2024

CVE-2024-0397  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 python3-tkinter to version 0:3.7.16-1.amzn2.0.13 or higher.
This issue was patched in ALAS2-2025-2766.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-tkinter package and not the python3-tkinter package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

A defect was discovered in the Python “ssl” module where there is a memory race condition with the ssl.SSLContext methods “cert_store_stats()” and “get_ca_certs()”. The race condition can be triggered if the methods are called at the same time as certificates are loaded into the SSLContext, such as during the TLS handshake with a certificate directory configured. This issue is fixed in CPython 3.10.14, 3.11.9, 3.12.3, and 3.13.0a5.

CVSS Base Scores

version 3.1