Lucene search

K
amazonAmazonALAS2-2023-2222
HistoryAug 31, 2023 - 10:28 p.m.

Important: python3

2023-08-3122:28:00
alas.aws.amazon.com
28
python 3
tls server
data exfiltration
security advisory

CVSS3

5.3

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

AI Score

6.8

Confidence

High

EPSS

0.001

Percentile

35.1%

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:

python3

Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.

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

New Packages:

aarch64:  
    python3-3.7.16-1.amzn2.0.4.aarch64  
    python3-libs-3.7.16-1.amzn2.0.4.aarch64  
    python3-devel-3.7.16-1.amzn2.0.4.aarch64  
    python3-tools-3.7.16-1.amzn2.0.4.aarch64  
    python3-tkinter-3.7.16-1.amzn2.0.4.aarch64  
    python3-test-3.7.16-1.amzn2.0.4.aarch64  
    python3-debug-3.7.16-1.amzn2.0.4.aarch64  
    python3-debuginfo-3.7.16-1.amzn2.0.4.aarch64  
  
i686:  
    python3-3.7.16-1.amzn2.0.4.i686  
    python3-libs-3.7.16-1.amzn2.0.4.i686  
    python3-devel-3.7.16-1.amzn2.0.4.i686  
    python3-tools-3.7.16-1.amzn2.0.4.i686  
    python3-tkinter-3.7.16-1.amzn2.0.4.i686  
    python3-test-3.7.16-1.amzn2.0.4.i686  
    python3-debug-3.7.16-1.amzn2.0.4.i686  
    python3-debuginfo-3.7.16-1.amzn2.0.4.i686  
  
src:  
    python3-3.7.16-1.amzn2.0.4.src  
  
x86_64:  
    python3-3.7.16-1.amzn2.0.4.x86_64  
    python3-libs-3.7.16-1.amzn2.0.4.x86_64  
    python3-devel-3.7.16-1.amzn2.0.4.x86_64  
    python3-tools-3.7.16-1.amzn2.0.4.x86_64  
    python3-tkinter-3.7.16-1.amzn2.0.4.x86_64  
    python3-test-3.7.16-1.amzn2.0.4.x86_64  
    python3-debug-3.7.16-1.amzn2.0.4.x86_64  
    python3-debuginfo-3.7.16-1.amzn2.0.4.x86_64  

Additional References

Red Hat: CVE-2023-40217

Mitre: CVE-2023-40217

CVSS3

5.3

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

AI Score

6.8

Confidence

High

EPSS

0.001

Percentile

35.1%