CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
LOW
Integrity Impact
NONE
Availability Impact
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
Percentile
35.1%
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.)
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 18.04 | noarch | python2.7 | < 2.7.17-1~18.04ubuntu1.13+esm4 | UNKNOWN |
ubuntu | 20.04 | noarch | python2.7 | < any | UNKNOWN |
ubuntu | 22.04 | noarch | python2.7 | < any | UNKNOWN |
ubuntu | 14.04 | noarch | python2.7 | < 2.7.6-8ubuntu0.6+esm18 | UNKNOWN |
ubuntu | 16.04 | noarch | python2.7 | < 2.7.12-1ubuntu0~16.04.18+esm9 | UNKNOWN |
ubuntu | 22.04 | noarch | python3.10 | < 3.10.12-1~22.04.3 | UNKNOWN |
ubuntu | 22.04 | noarch | python3.11 | < any | UNKNOWN |
ubuntu | 23.04 | noarch | python3.11 | < 3.11.4-1~23.04.1 | UNKNOWN |
ubuntu | 14.04 | noarch | python3.4 | < any | UNKNOWN |
ubuntu | 14.04 | noarch | python3.5 | < 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1 | UNKNOWN |
github.com/python/cpython/commit/0cb0c238d520a8718e313b52cffc356a5a7561bf (main)
github.com/python/cpython/commit/256586ab8776e4526ca594b4866b9a3492e628f1 (3.12)
github.com/python/cpython/commit/264b1dacc67346efa0933d1e63f622676e0ed96b (3.9)
github.com/python/cpython/commit/37d7180cb647f0bed0c1caab0037f3bc82e2af96 (3.10)
github.com/python/cpython/commit/75a875e0df0530b75b1470d797942f90f4a718d3 (3.11)
github.com/python/cpython/issues/108310
github.com/python/cpython/pull/108315
launchpad.net/bugs/cve/CVE-2023-40217
mail.python.org/archives/list/[email protected]/thread/PEPLII27KYHLF4AK3ZQGKYNCRERG4YXY/
nvd.nist.gov/vuln/detail/CVE-2023-40217
security-tracker.debian.org/tracker/CVE-2023-40217
ubuntu.com/security/notices/USN-6513-1
ubuntu.com/security/notices/USN-6513-2
ubuntu.com/security/notices/USN-6891-1
www.cve.org/CVERecord?id=CVE-2023-40217
www.python.org/dev/security/