CVE-2024-5642
Buffer overread when using an empty list with SSLContext.set_npn_protocols()
6.5
MEDIUM
CVSS 3.1
EPSS 0.74%
描述
CPython 3.9 and earlier doesn't disallow configuring an empty list ("[]") for SSLContext.set_npn_protocols() which is an invalid value for the underlying OpenSSL API. This results in a buffer over-read when NPN is used (see CVE-2024-5535 for OpenSSL). This vulnerability is of low severity due to NPN being not widely used and specifying an empty list likely being uncommon in-practice (typically a protocol name would be configured).
如何修補 CVE-2024-5642
要修補 CVE-2024-5642,請將受影響套件升級到下列已修補版本。
- —升級至 3.9.24 或更新版本
- —升級至 3.9.24 或更新版本
- —升級至 3.9.24 或更新版本
- —未列出修補版本
- —未列出修補版本
- —未列出修補版本
CVE-2024-5642 正在被利用嗎?
低 — EPSS 為 0.7%,目前沒有觀察到大規模利用活動。
受影響套件(6)
- from 0, < 3.9.24
- from 0, < 3.9.24
- from 0, < 3.9.24
- from 0
- from 0
- from 0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L |