Lucene search

K
amazonAmazonALAS-2024-2541
HistoryMay 09, 2024 - 7:16 p.m.

Important: python3

2024-05-0919:16:00
alas.aws.amazon.com
11
python3
cpython
tempfile
temporarydirectory
privilege escalation
symlink
security
advisory
update
packages
cve-2023-6597
red hat
mitre
unix

7.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

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

7 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

14.3%

Issue Overview:

An issue was found in the CPython tempfile.TemporaryDirectory class affecting versions 3.12.2, 3.11.8, 3.10.13, 3.9.18, and 3.8.18 and prior.

The tempfile.TemporaryDirectory class would dereference symlinks during cleanup of permissions-related errors. This means users which can run privileged programs are potentially able to modify permissions of files referenced by symlinks in some circumstances. (CVE-2023-6597)

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.6.aarch64  
    python3-libs-3.7.16-1.amzn2.0.6.aarch64  
    python3-devel-3.7.16-1.amzn2.0.6.aarch64  
    python3-tools-3.7.16-1.amzn2.0.6.aarch64  
    python3-tkinter-3.7.16-1.amzn2.0.6.aarch64  
    python3-test-3.7.16-1.amzn2.0.6.aarch64  
    python3-debug-3.7.16-1.amzn2.0.6.aarch64  
    python3-debuginfo-3.7.16-1.amzn2.0.6.aarch64  
  
i686:  
    python3-3.7.16-1.amzn2.0.6.i686  
    python3-libs-3.7.16-1.amzn2.0.6.i686  
    python3-devel-3.7.16-1.amzn2.0.6.i686  
    python3-tools-3.7.16-1.amzn2.0.6.i686  
    python3-tkinter-3.7.16-1.amzn2.0.6.i686  
    python3-test-3.7.16-1.amzn2.0.6.i686  
    python3-debug-3.7.16-1.amzn2.0.6.i686  
    python3-debuginfo-3.7.16-1.amzn2.0.6.i686  
  
src:  
    python3-3.7.16-1.amzn2.0.6.src  
  
x86_64:  
    python3-3.7.16-1.amzn2.0.6.x86_64  
    python3-libs-3.7.16-1.amzn2.0.6.x86_64  
    python3-devel-3.7.16-1.amzn2.0.6.x86_64  
    python3-tools-3.7.16-1.amzn2.0.6.x86_64  
    python3-tkinter-3.7.16-1.amzn2.0.6.x86_64  
    python3-test-3.7.16-1.amzn2.0.6.x86_64  
    python3-debug-3.7.16-1.amzn2.0.6.x86_64  
    python3-debuginfo-3.7.16-1.amzn2.0.6.x86_64  

Additional References

Red Hat: CVE-2023-6597

Mitre: CVE-2023-6597

7.8 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

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

7 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

14.3%