🛡️ CVE-2023-40217 on Debian — pypy3
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 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.)
Distribution advisory
This page covers CVE-2023-40217 as tracked by Debian, for the package pypy3. The fix is available in version 7.3.13+dfsg-1; earlier versions remain affected.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality low, integrity none, availability none.
Affected software
DEBIAN-CVE-2023-40217 is recorded against 4 packages.
- pypy3 (fixed in 7.3.13+dfsg-1)
- python2.7 (fixed in 2.7.18-8+deb11u1)
- python3.11 (fixed in 3.11.2-6+deb12u2)
- python3.9 (fixed in 3.9.2-1+deb11u2)
Timeline and source
Published on 25 August 2023 and last revised on 7 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2023-40217 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| pypy3 | — | 7.3.13+dfsg-1 |
| python2.7 | — | 2.7.18-8+deb11u1 |
| python3.11 | — | 3.11.2-6+deb12u2 |
| python3.9 | — | 3.9.2-1+deb11u2 |
References
Similar Threats
- Unknown DEBIAN-CVE-2024-11168
- Unknown DEBIAN-CVE-2024-0397
- Unknown DEBIAN-CVE-2023-6597
- Unknown DEBIAN-CVE-2024-0450
- Unknown DEBIAN-CVE-2023-40217
Vulnerability Monitoring
Track new vulnerabilities in pypy3
DEBIAN-CVE-2023-40217 is rated CVSS 5.0 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.