NVD Vulnerability Detail
Search Exploit, PoC
CVE-2023-40217
Summary

An issue was discovered in Python before 3.8.18, 3.9.x before 3.9.18, 3.10.x before 3.10.13, and 3.11.x before 3.11.5. It primarily affects servers (such as HTTP servers) that use TLS client authentication. If a TLS server-side socket is created, receives data into the socket buffer, and then is closed quickly, there is a brief window where the SSLSocket instance will detect the socket as "not connected" and won't initiate a handshake, but buffered data will still be readable from the socket buffer. This data will not be authenticated if the server-side TLS peer is expecting client certificate authentication, and is indistinguishable from valid TLS stream data. Data is limited in size to the amount that will fit in the buffer. (The TLS connection cannot directly be used for data exfiltration because the vulnerable code path requires that the connection be closed on initialization of the SSLSocket.)

Publication Date Aug. 25, 2023, 10:15 a.m.
Registration Date Aug. 25, 2023, 4 p.m.
Last Update Nov. 21, 2024, 5:19 p.m.
CVSS3.1 : MEDIUM
スコア 5.3
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I) なし
可用性への影響(A) なし
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* 3.11.0 3.11.5
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* 3.10.0 3.10.13
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* 3.9.0 3.9.18
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* 3.8.18
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Python Software Foundation の Python における脆弱性
Title Python Software Foundation の Python における脆弱性
Summary

Python Software Foundation の Python には、不特定の脆弱性が存在します。

Possible impacts 情報を取得される可能性があります。
Solution

ベンダアドバイザリまたはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

Publication Date Aug. 25, 2023, midnight
Registration Date Dec. 13, 2023, 4:16 p.m.
Last Update April 18, 2025, 4:26 p.m.
Affected System
Python Software Foundation
Python 3.10.0 以上 3.10.13 未満
Python 3.11.0 以上 3.11.5 未満
Python 3.8.18 未満
Python 3.9.0 以上 3.9.18 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2023年12月13日]
  掲載
Dec. 13, 2023, 4:16 p.m.
2 [2025年04月18日]
  参考情報:JVN (JVNVU#92488108) を追加
  参考情報:ICS-CERT ADVISORY (ICSA-25-105-08) を追加
April 18, 2025, 4:26 p.m.