CVE-2024-0397 | Memory race condition in ssl.SSLContext certificate store methods

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.

公開: 2024-06-17 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2024-0397 は中リスク(48.1/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.80%、52 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2024-0397 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.40% 0.80% +0.41%
2 2026-05-29 0.33% 0.40% +0.07%
3 2026-05-24 0.33%

EPSS の全履歴 (全 13 件)

CVE-2024-0397 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
7.4 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
2.2 5.2 134c704f-9b21-4f2e-91b3-4a467353bcc0

CVE-2024-0397 の弱点分類(列挙)

CVE-2024-0397 の OS トラッカー

vendor priority summary link
debian unimportant CVE-2024-0397 unimportant priority: Debian including 5 source packages (pypy3, python2.7, python3.11, python3.13, python3.9), 11 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 8, open 3. https://security-tracker.debian.org/tracker/CVE-2024-0397
redhat low https://access.redhat.com/security/cve/CVE-2024-0397
suse medium CVE-2024-0397 severity moderate: SUSE including 519 source package names (0.0.17-1.1:libpython3_11-1_0-3.11.9-150600.3.3.1, 0.0.17-1.1:libpython3_6m1_0-3.6.15-150300.10.65.1, …), 2223 product×package rows across 425 product lines (Container bci/bci-base-fips, Container bci/bci-sle15-kernel-module-devel, … (425 product lines)): Fixed 1838, Known Affected 225, Known Not Affected 160. https://www.suse.com/security/cve/CVE-2024-0397/
ubuntu medium CVE-2024-0397 medium priority: Ubuntu including 10 source packages (python2.7, python3.10, …), 89 status rows across 11 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 60, needs-triage 19, not-affected 4, released 4, ignored 2. https://ubuntu.com/security/CVE-2024-0397

CVE-2024-0397 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
データセットに影響を受ける製品はありません。

CVE-2024-0397 の参考情報

URL タグ
http://www.openwall.com/lists/oss-security/2024/06/17/2
https://github.com/python/cpython/commit/01c37f1d0714f5822d34063ca7180b595abf589d
https://github.com/python/cpython/commit/29c97287d205bf2f410f4895ebce3f43b5160524
https://github.com/python/cpython/commit/37324b421b72b7bc9934e27aba85d48d4773002e
https://github.com/python/cpython/commit/542f3272f56f31ed04e74c40635a913fbc12d286
https://github.com/python/cpython/commit/b228655c227b2ca298a8ffac44d14ce3d22f6faa
https://github.com/python/cpython/commit/bce693111bff906ccf9281c22371331aaff766ab
https://github.com/python/cpython/issues/114572
https://github.com/python/cpython/pull/114573
https://mail.python.org/archives/list/[email protected]/thread/BMAK5BCGKYWNJOACVUSLUF6SFGBIM4VP/
https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html
https://security.netapp.com/advisory/ntap-20250411-0006/
cvelogic Threat Intelligence