CVE-2023-40217Authentication Bypass by Primary Weakness in Python

Severity
5.3MEDIUMNVD
OSV7.6OSV7.5OSV6.5
EPSS
0.6%
top 31.06%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 25
Latest updateApr 15

Description

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 buf

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NExploitability: 3.9 | Impact: 1.4

Affected Packages10 packages

NVDpython/python3.9.03.9.18+3
debiandebian/python2.7< pypy3 7.3.11+dfsg-2+deb12u2 (bookworm)
debiandebian/python3.9< pypy3 7.3.11+dfsg-2+deb12u2 (bookworm)
debiandebian/python3.11< pypy3 7.3.11+dfsg-2+deb12u2 (bookworm)

🔴Vulnerability Details

6
OSV
python2.7 vulnerabilities2025-01-06
OSV
python3.5, python3.6, python3.7, python3.8, python3.9, python3.10, python3.11, python3.12 vulnerabilities2024-07-11
OSV
python3.8, python3.10, python3.11 vulnerability2023-11-27
OSV
python2.7, python3.5, python3.6 vulnerabilities2023-11-23
OSV
CVE-2023-40217: An issue was discovered in Python before 32023-08-25

📋Vendor Advisories

10
CISA ICS
ABB M2M Gateway2025-04-15
Ubuntu
Python vulnerabilities2025-01-06
Palo Alto
PAN-SA-2024-0014 Informational Bulletin: Impact of OSS CVEs in Cortex XDR Agent2024-11-07
Ubuntu
Python vulnerabilities2024-07-11
Palo Alto
PAN-SA-2024-0001 Informational Bulletin: Impact of OSS CVEs in PAN-OS2024-02-14

💬Community

1
Bugzilla
CVE-2023-39325 golang: net/http, x/net/http2: rapid stream resets can cause excessive work (CVE-2023-44487)2023-10-11