Lucene search

K
amazonAmazonALAS-2023-1816
HistoryAug 30, 2023 - 5:56 p.m.

Important: python38

2023-08-3017:56:00
alas.aws.amazon.com
10
python
tls
server-side
vulnerability
socket
authentication
data exfiltration
cve-2023-40217
red hat
mitre
unix

5.3 Medium

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

0.0005 Low

EPSS

Percentile

18.0%

Issue Overview:

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.) (CVE-2023-40217)

Affected Packages:

python38

Issue Correction:
Run yum update python38 to update your system.

New Packages:

i686:  
    python38-3.8.5-1.10.amzn1.i686  
    python38-debug-3.8.5-1.10.amzn1.i686  
    python38-debuginfo-3.8.5-1.10.amzn1.i686  
    python38-tools-3.8.5-1.10.amzn1.i686  
    python38-devel-3.8.5-1.10.amzn1.i686  
    python38-test-3.8.5-1.10.amzn1.i686  
    python38-libs-3.8.5-1.10.amzn1.i686  
  
src:  
    python38-3.8.5-1.10.amzn1.src  
  
x86_64:  
    python38-3.8.5-1.10.amzn1.x86_64  
    python38-debug-3.8.5-1.10.amzn1.x86_64  
    python38-devel-3.8.5-1.10.amzn1.x86_64  
    python38-debuginfo-3.8.5-1.10.amzn1.x86_64  
    python38-libs-3.8.5-1.10.amzn1.x86_64  
    python38-tools-3.8.5-1.10.amzn1.x86_64  
    python38-test-3.8.5-1.10.amzn1.x86_64  

Additional References

Red Hat: CVE-2023-40217

Mitre: CVE-2023-40217

5.3 Medium

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

0.0005 Low

EPSS

Percentile

18.0%