Amazon Linux 2 Security Advisory: ALASPYTHON3.8-2024-014
Advisory Release Date: 2024-10-24 16:45 Pacific
Advisory Updated Date: 2024-10-31 16:00 Pacific
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:
python38
Note:
This advisory is applicable to Amazon Linux 2 - Python3.8 Extra. Visit this page to learn more about Amazon Linux 2 (AL2) Extras and this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update python38 to update your system.
aarch64:
python38-3.8.16-1.amzn2.0.7.aarch64
python38-libs-3.8.16-1.amzn2.0.7.aarch64
python38-devel-3.8.16-1.amzn2.0.7.aarch64
python38-tools-3.8.16-1.amzn2.0.7.aarch64
python38-tkinter-3.8.16-1.amzn2.0.7.aarch64
python38-test-3.8.16-1.amzn2.0.7.aarch64
python38-debug-3.8.16-1.amzn2.0.7.aarch64
python38-debuginfo-3.8.16-1.amzn2.0.7.aarch64
src:
python38-3.8.16-1.amzn2.0.7.src
x86_64:
python38-3.8.16-1.amzn2.0.7.x86_64
python38-libs-3.8.16-1.amzn2.0.7.x86_64
python38-devel-3.8.16-1.amzn2.0.7.x86_64
python38-tools-3.8.16-1.amzn2.0.7.x86_64
python38-tkinter-3.8.16-1.amzn2.0.7.x86_64
python38-test-3.8.16-1.amzn2.0.7.x86_64
python38-debug-3.8.16-1.amzn2.0.7.x86_64
python38-debuginfo-3.8.16-1.amzn2.0.7.x86_64