CVE-2023-23931 | Cipher.update_into can corrupt memory in pyca cryptography

Exp

cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. In affected versions `Cipher.update_into` would accept Python objects which implement the buffer protocol, but provide only immutable buffers. This would allow immutable objects (such as `bytes`) to be mutated, thus violating fundamental rules of Python and resulting in corrupted output. This now correctly raises an exception. This issue has been present since `update_into` was originally introduced in cryptography 1.8.

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

総合評価: CVE-2023-23931 は公開エクスプロイトあり(58.1/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 1.30%、67 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。

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

CVE-2023-23931 に関する公開 exploit 参照(Exploit-DB)

EDB-ID ソース 種別 公開 リンク
nvd_ref exploit_tag Exploit-DB ↗

CVE-2023-23931 の EPSS(Exploit Prediction Scoring System)スコア

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.69% 1.30% +0.61%
2 2026-04-19 0.80% 0.69% -0.12%
3 2026-03-16 0.80%

EPSS の全履歴 (全 43 件)

CVE-2023-23931 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
4.8 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:N)
機微情報の漏えいは想定しにくい。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:L)
遅延や一部機能の停止、断続的な障害など、運用で吸収しうる範囲。
2.2 2.5 [email protected]
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:N)
機微情報の漏えいは想定しにくい。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:L)
遅延や一部機能の停止、断続的な障害など、運用で吸収しうる範囲。
3.9 2.5 [email protected]

CVE-2023-23931 の弱点分類(列挙)

CVE-2023-23931 の GitHub Security Advisory

GHSA-w7pp-m8wf-vj6r · 深刻度: medium · エコシステム: pip — Cipher.update_into can corrupt memory if passed an immutable python object as the outbuf

CVE-2023-23931 の OS トラッカー

vendor priority summary link
alpine medium CVE-2023-23931: 1 source package rows (py3-cryptography); 8 state rows across 8 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community, edge-main); fixed 8, open 0. https://security.alpinelinux.org/vuln/CVE-2023-23931
debian not yet assigned CVE-2023-23931 not yet assigned priority: Debian including 1 source packages (python-cryptography), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2023-23931
gentoo normal CVE-2023-23931: 1 GLSA(s) (202407-06), 1 atom(s) (dev-python/cryptography); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2023-23931
redhat medium https://access.redhat.com/security/cve/CVE-2023-23931
suse medium CVE-2023-23931 severity moderate: SUSE including 315 source package names (1.10.1.16.4.5.392:python3-cryptography-3.3.2-150200.19.1, 2.5.3-61.1:python3-cryptography-3.3.2-150400.16.6.1, …), 714 product×package rows across 342 product lines (Container bci/kiwi, Container ses/7.1/cephcsi/cephcsi, … (342 product lines)): Fixed 531, Known Affected 177, Will Not Fix 6. https://www.suse.com/security/cve/CVE-2023-23931/
ubuntu low CVE-2023-23931 low priority: Ubuntu including 1 source packages (python-cryptography), 13 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 6, released 4, ignored 2, needed 1. https://ubuntu.com/security/CVE-2023-23931

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

ベンダー 製品 バージョン 生の CPE
cryptography.io cryptography >= 1.8, < 39.0.1 cpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:*

CVE-2023-23931 の参考情報

cvelogic Threat Intelligence