Amazon Linux 2 Security Advisory: ALAS-2024-2686
Advisory Release Date: 2024-10-24 23:54 Pacific
Advisory Updated Date: 2024-10-31 18: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:
python
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 python to update your system.
aarch64:
python-2.7.18-1.amzn2.0.9.aarch64
python-libs-2.7.18-1.amzn2.0.9.aarch64
python-devel-2.7.18-1.amzn2.0.9.aarch64
python-tools-2.7.18-1.amzn2.0.9.aarch64
tkinter-2.7.18-1.amzn2.0.9.aarch64
python-test-2.7.18-1.amzn2.0.9.aarch64
python-debug-2.7.18-1.amzn2.0.9.aarch64
python-debuginfo-2.7.18-1.amzn2.0.9.aarch64
i686:
python-2.7.18-1.amzn2.0.9.i686
python-libs-2.7.18-1.amzn2.0.9.i686
python-devel-2.7.18-1.amzn2.0.9.i686
python-tools-2.7.18-1.amzn2.0.9.i686
tkinter-2.7.18-1.amzn2.0.9.i686
python-test-2.7.18-1.amzn2.0.9.i686
python-debug-2.7.18-1.amzn2.0.9.i686
python-debuginfo-2.7.18-1.amzn2.0.9.i686
src:
python-2.7.18-1.amzn2.0.9.src
x86_64:
python-2.7.18-1.amzn2.0.9.x86_64
python-libs-2.7.18-1.amzn2.0.9.x86_64
python-devel-2.7.18-1.amzn2.0.9.x86_64
python-tools-2.7.18-1.amzn2.0.9.x86_64
tkinter-2.7.18-1.amzn2.0.9.x86_64
python-test-2.7.18-1.amzn2.0.9.x86_64
python-debug-2.7.18-1.amzn2.0.9.x86_64
python-debuginfo-2.7.18-1.amzn2.0.9.x86_64