VDB

ALPINE-CVE-2023-40217

ALPINE-CVE-2023-40217 PUBLISHED CVSS 5.300000190734863 MEDIUM

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.)

Risk Scores

CVSS 3.1
5.300000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected Products

VendorProductVersions
Alpine:v3.18python33.5.2-r2, 3.5.2-r3, 3.5.2-r4
Alpine:v3.24python30
Alpine:v3.19python33.8.5-r2, 3.8.5-r1, 3.8.5-r0
Alpine:v3.17python33.6.3-r5, 0, 3.9.7-r4
Alpine:v3.22python33.11.3-r5, 3.11.3-r3, 3.11.3-r11
Alpine:v3.15python33.5.2-r10, 0, 3.1.3-r0
Alpine:v3.21python33.9.7-r2, 3.9.6-r2, 3.9.6-r1
Alpine:v3.16python33.8.5-r2, 3.8.7-r0, 3.8.7-r1
Alpine:v3.23python33.1.3-r0, 3.10.0-r0, 3.10.0-r1
Alpine:v3.20python33.11.0-r1, 3.10.8-r3, 3.10.8-r2

Timeline

  • Aug 25, 2023 CVE Published
  • Apr 30, 2026 Distribution Patch
  • Jun 15, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›