一、漏洞信息
漏洞编号:CVE-2023-40217
漏洞归属组件:python3
漏洞归属的版本:3.10.0,3.10.2,3.10.9,3.11.1,3.11.4,3.7.9,3.8.5,3.9.9
CVSS V3.0分值:
BaseScore:5.3 Medium
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
漏洞简述:
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.)
漏洞公开时间:2023-08-25 01:15:09
漏洞创建时间:2023-08-25 09:47:38
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2023-40217
漏洞分析指导链接:
https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
漏洞数据来源:
openBrain开源漏洞感知系统
漏洞补丁信息:
二、漏洞分析结构反馈
影响性分析说明:
在python3.11.5中发现了一个问题。它主要影响使用TLS客户端认证的服务器(例如HTTP服务器)。如果创建了一个TLS服务器端套接字,将数据接收到套接字缓冲区中,然后快速关闭,那么在短暂的时间窗口内,SSLSocket实例将检测到套接字为“未连接”,并且不会启动握手,但缓冲区中的缓冲数据仍然可以从套接字缓冲区中读取。如果服务器端TLS对等方期望客户端证书认证,则此数据将无法得到认证,并且与有效的TLS流数据无法区分。数据的大小限制为适合缓冲区的量。目前openeuler的所有版本均受到影响。
openEuler评分:
5.3
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(3.7.9):受影响
2.openEuler-20.03-LTS-SP3(3.7.9):受影响
3.openEuler-22.03-LTS(3.9.9):受影响
4.openEuler-22.03-LTS-SP1(3.9.9):受影响
5.openEuler-22.03-LTS-SP2(3.9.9):受影响
修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1(3.7.9):否
2.openEuler-20.03-LTS-SP3(3.7.9):否
3.openEuler-22.03-LTS(3.9.9):否
4.openEuler-22.03-LTS-SP1(3.9.9):否
三、漏洞修复
安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2023-1677
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
参考网址 | 关联pr | 状态 | 补丁链接 |
---|---|---|---|
https://nvd.nist.gov/vuln/detail/CVE-2023-40217 | |||
https://ubuntu.com/security/CVE-2023-40217 | None | None | https://discourse.ubuntu.com/c/ubuntu-pro |
https://www.opencve.io/cve/CVE-2023-40217 | |||
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2023-40217 | |||
https://security-tracker.debian.org/tracker/CVE-2023-40217 |
说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用CVE补丁工具。
若补丁不准确,烦请在此issue下评论 '/report-patch 参考网址 补丁链接1,补丁链接2' 反馈正确信息,便于我们不断优化工具,不胜感激。
如 /report-patch https://security-tracker.debian.org/tracker/CVE-2021-3997 https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1
上游社区Patch链接:https://github.com/python/cpython/pull/108315
最新发布的3.11.5版本才完成该漏洞的修复,openEuler当前的版本均受影响:
影响性分析说明:在python3.11.5中发现了一个问题。它主要影响使用TLS客户端认证的服务器(例如HTTP服务器)。如果创建了一个TLS服务器端套接字,将数据接收到套接字缓冲区中,然后快速关闭,那么在短暂的时间窗口内,SSLSocket实例将检测到套接字为“未连接”,并且不会启动握手,但缓冲区中的缓冲数据仍然可以从套接字缓冲区中读取。如果服务器端TLS对等方期望客户端证书认证,则此数据将无法得到认证,并且与有效的TLS流数据无法区分。数据的大小限制为适合缓冲区的量。目前openeuler的所有版本均受到影响。
openEuler评分: 5.3
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
受影响版本排查(受影响/不受影响):
1.openEuler-20.03-LTS-SP1(3.7.9):受影响
2.openEuler-20.03-LTS-SP3(3.7.9):受影响
3.openEuler-22.03-LTS(3.9.9):受影响
4.openEuler-22.03-LTS-SP1(3.9.9):受影响
5.openEuler-22.03-LTS-SP2(3.9.9):受影响
修复是否涉及abi变化(是/否):
1.openEuler-20.03-LTS-SP1(3.7.9):否
2.openEuler-20.03-LTS-SP3(3.7.9):否
3.openEuler-22.03-LTS(3.9.9):否
4.openEuler-22.03-LTS-SP1(3.9.9):否
登录 后才可以发表评论
FileDragTip