CVE-2024-0397 Affecting python3.8 package, versions <3.8.10-0ubuntu1~20.04.11


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.04% (15th 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-UBUNTU2004-PYTHON38-7268149
  • published30 Jul 2024
  • disclosed17 Jun 2024

Introduced: 17 Jun 2024

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

How to fix?

Upgrade Ubuntu:20.04 python3.8 to version 3.8.10-0ubuntu1~20.04.11 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3.8 package and not the python3.8 package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 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 Scores

version 3.1