Race Condition Affecting python package, versions [,3.10.14)[3.11.0,3.11.9)[3.12.0,3.12.3)[3.13.0a1,3.13.0a5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.04% (16th 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 Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PYTHON-7271948
  • published19 Jun 2024
  • disclosed17 Jun 2024
  • creditDavid Benjamin

Introduced: 17 Jun 2024

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

How to fix?

Upgrade python to version 3.10.14, 3.11.9, 3.12.3, 3.13.0a5 or higher.

Overview

Affected versions of this package are vulnerable to Race Condition due to concurrent access to the SSLContext's certificate store methods cert_store_stats and get_ca_certs. An attacker can trigger a race condition by simultaneously invoking these methods during operations such as a TLS handshake when certificates are being loaded.

CVSS Scores

version 4.0
version 3.1