ALAS2-2025-3041


Amazon Linux 2 Security Advisory: ALAS2-2025-3041
Advisory Released Date: 2025-10-27
Advisory Updated Date: 2025-10-27
Severity: Medium

Issue Overview:

The 'zipfile' module would not check the validity of the ZIP64 End of Central Directory (EOCD) Locator record offset value would not be used to locate the ZIP64 EOCD record, instead the ZIP64 EOCD record would be assumed to be the previous record in the ZIP archive. This could be abused to create ZIP archives that are handled differently by the 'zipfile' module
compared to other ZIP implementations.

Remediation maintains this behavior, but checks that the offset specified in the ZIP64 EOCD Locator record matches the expected value. (CVE-2025-8291)


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 or yum update --advisory ALAS2-2025-3041 to update your system.

New Packages:
aarch64:
    python3-3.7.16-1.amzn2.0.20.aarch64
    python3-libs-3.7.16-1.amzn2.0.20.aarch64
    python3-devel-3.7.16-1.amzn2.0.20.aarch64
    python3-tools-3.7.16-1.amzn2.0.20.aarch64
    python3-tkinter-3.7.16-1.amzn2.0.20.aarch64
    python3-test-3.7.16-1.amzn2.0.20.aarch64
    python3-debug-3.7.16-1.amzn2.0.20.aarch64
    python3-debuginfo-3.7.16-1.amzn2.0.20.aarch64

i686:
    python3-3.7.16-1.amzn2.0.20.i686
    python3-libs-3.7.16-1.amzn2.0.20.i686
    python3-devel-3.7.16-1.amzn2.0.20.i686
    python3-tools-3.7.16-1.amzn2.0.20.i686
    python3-tkinter-3.7.16-1.amzn2.0.20.i686
    python3-test-3.7.16-1.amzn2.0.20.i686
    python3-debug-3.7.16-1.amzn2.0.20.i686
    python3-debuginfo-3.7.16-1.amzn2.0.20.i686

src:
    python3-3.7.16-1.amzn2.0.20.src

x86_64:
    python3-3.7.16-1.amzn2.0.20.x86_64
    python3-libs-3.7.16-1.amzn2.0.20.x86_64
    python3-devel-3.7.16-1.amzn2.0.20.x86_64
    python3-tools-3.7.16-1.amzn2.0.20.x86_64
    python3-tkinter-3.7.16-1.amzn2.0.20.x86_64
    python3-test-3.7.16-1.amzn2.0.20.x86_64
    python3-debug-3.7.16-1.amzn2.0.20.x86_64
    python3-debuginfo-3.7.16-1.amzn2.0.20.x86_64