ALAS-2024-2687


Amazon Linux 2 Security Advisory: ALAS-2024-2687
Advisory Release Date: 2024-10-24 23:54 Pacific
Advisory Updated Date: 2024-10-31 18:00 Pacific
Severity: Medium

Issue Overview:

The email module of Python through 3.11.3 incorrectly parses e-mail addresses that contain a special character. The wrong portion of an RFC2822 header is identified as the value of the addr-spec. In some applications, an attacker can bypass a protection mechanism in which application access is granted only after verifying receipt of e-mail to a specific domain (e.g., only @company.example.com addresses may be used for signup). This occurs in email/_parseaddr.py in recent versions of Python. (CVE-2023-27043)


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.7.aarch64
    python3-libs-3.7.16-1.amzn2.0.7.aarch64
    python3-devel-3.7.16-1.amzn2.0.7.aarch64
    python3-tools-3.7.16-1.amzn2.0.7.aarch64
    python3-tkinter-3.7.16-1.amzn2.0.7.aarch64
    python3-test-3.7.16-1.amzn2.0.7.aarch64
    python3-debug-3.7.16-1.amzn2.0.7.aarch64
    python3-debuginfo-3.7.16-1.amzn2.0.7.aarch64

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

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

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