中危 python3.11 安全漏洞 (CVE-2023-40217)

CVE编号

CVE-2023-40217

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-08-25
漏洞描述
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.)
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 python python * Up to
(excluding)
3.8.18
运行在以下环境
应用 python python * From
(including)
3.10.0
Up to
(excluding)
3.10.13
运行在以下环境
应用 python python * From
(including)
3.11.0
Up to
(excluding)
3.11.5
运行在以下环境
应用 python python * From
(including)
3.9.0
Up to
(excluding)
3.9.18
运行在以下环境
系统 alibaba_cloud_linux_2.1903 python3 * Up to
(excluding)
3.6.8-21.2.al7
运行在以下环境
系统 alma_linux_8 python3.11 * Up to
(excluding)
3.11.2-2.el8_8.2
运行在以下环境
系统 alma_linux_9 python3 * Up to
(excluding)
3.9.16-1.el9_2.2
运行在以下环境
系统 alpine_3.15 python3 * Up to
(excluding)
3.9.18-r0
运行在以下环境
系统 alpine_3.16 python3 * Up to
(excluding)
3.10.13-r0
运行在以下环境
系统 alpine_3.17 python3 * Up to
(excluding)
3.10.13-r0
运行在以下环境
系统 alpine_3.18 python3 * Up to
(excluding)
3.11.5-r0
运行在以下环境
系统 alpine_3.19 python3 * Up to
(excluding)
3.11.5-r0
运行在以下环境
系统 amazon_2 python3 * Up to
(excluding)
3.7.16-1.amzn2.0.4
运行在以下环境
系统 amazon_2023 python3.9 * Up to
(excluding)
3.9.16-1.amzn2023.0.5
运行在以下环境
系统 amazon_AMI python27 * Up to
(excluding)
2.7.18-2.148.amzn1
运行在以下环境
系统 anolis_os_23 python3 * Up to
(excluding)
3.10.13-1
运行在以下环境
系统 anolis_os_7 python3 * Up to
(excluding)
3.6.8-21
运行在以下环境
系统 centos_7 python * Up to
(excluding)
2.7.5-94.el7_9
运行在以下环境
系统 kylinos_aarch64_V10 python3 * Up to
(excluding)
3.7.9-18.se.05.p06.ky10
运行在以下环境
系统 kylinos_aarch64_V10HPC python3 * Up to
(excluding)
3.9.9-24.p01.ky10h
运行在以下环境
系统 kylinos_aarch64_V10SP3 python3 * Up to
(excluding)
3.7.9-18.se.05.p06.ky10
运行在以下环境
系统 kylinos_loongarch64_V10SP1 python3 * Up to
(excluding)
3.7.9-7.p14.se.a.ky10
运行在以下环境
系统 kylinos_loongarch64_V10SP3 python3 * Up to
(excluding)
3.7.9-18.se.05.p06.a.ky10
运行在以下环境
系统 kylinos_x86_64_V10 python3 * Up to
(excluding)
3.7.9-18.se.05.p06.ky10
运行在以下环境
系统 kylinos_x86_64_V10HPC python3 * Up to
(excluding)
3.9.9-24.p01.ky10h
运行在以下环境
系统 kylinos_x86_64_V10SP3 python3 * Up to
(excluding)
3.7.9-18.se.05.p06.ky10
运行在以下环境
系统 opensuse_Leap_15.4 python * Up to
(excluding)
2.7.18-150000.54.1
运行在以下环境
系统 opensuse_Leap_15.5 python * Up to
(excluding)
2.7.18-150000.54.1
运行在以下环境
系统 oracle_7 python * Up to
(excluding)
2.7.5-94.0.1.el7_9
运行在以下环境
系统 oracle_8 python3.11 * Up to
(excluding)
3.11.2-2.el8_8.2
运行在以下环境
系统 oracle_9 python3 * Up to
(excluding)
3.9.16-1.el9_2.2
运行在以下环境
系统 redhat_7 python * Up to
(excluding)
2.7.5-94.el7_9
运行在以下环境
系统 redhat_8 python3.11 * Up to
(excluding)
3.11.2-2.el8_8.2
运行在以下环境
系统 redhat_9 python3 * Up to
(excluding)
3.9.16-1.el9_2.2
运行在以下环境
系统 rocky_linux_8 python3 * Up to
(excluding)
3.6.8-51.el8_8.2.rocky.0
运行在以下环境
系统 suse_12_SP5 python * Up to
(excluding)
2.7.18-33.23.1
运行在以下环境
系统 ubuntu_20.04 python3.8 * Up to
(excluding)
3.8.10-0ubuntu1~20.04.9
运行在以下环境
系统 ubuntu_22.04 python3.10 * Up to
(excluding)
3.10.12-1~22.04.3
阿里云评分
4.8
  • 攻击路径
    本地
  • 攻击复杂度
    困难
  • 权限要求
    管控权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
NVD-CWE-noinfo
阿里云安全产品覆盖情况