Amazon Linux 2 Security Advisory: ALAS-2025-2762
Advisory Release Date: 2025-02-12 23:17 Pacific
Advisory Updated Date: 2025-02-25 10:30 Pacific
The "ipaddress" module contained incorrect information about whether certain IPv4 and IPv6 addresses were designated as "globally reachable" or "private". This affected the is_private and is_global properties of the ipaddress.IPv4Address, ipaddress.IPv4Network, ipaddress.IPv6Address, and ipaddress.IPv6Network classes, where values wouldn't be returned in accordance with the latest information from the IANA Special-Purpose Address Registries.
CPython 3.12.4 and 3.13.0a6 contain updated information from these registries and thus have the intended behavior. (CVE-2024-4032)
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.
aarch64:
python3-3.7.16-1.amzn2.0.11.aarch64
python3-libs-3.7.16-1.amzn2.0.11.aarch64
python3-devel-3.7.16-1.amzn2.0.11.aarch64
python3-tools-3.7.16-1.amzn2.0.11.aarch64
python3-tkinter-3.7.16-1.amzn2.0.11.aarch64
python3-test-3.7.16-1.amzn2.0.11.aarch64
python3-debug-3.7.16-1.amzn2.0.11.aarch64
python3-debuginfo-3.7.16-1.amzn2.0.11.aarch64
i686:
python3-3.7.16-1.amzn2.0.11.i686
python3-libs-3.7.16-1.amzn2.0.11.i686
python3-devel-3.7.16-1.amzn2.0.11.i686
python3-tools-3.7.16-1.amzn2.0.11.i686
python3-tkinter-3.7.16-1.amzn2.0.11.i686
python3-test-3.7.16-1.amzn2.0.11.i686
python3-debug-3.7.16-1.amzn2.0.11.i686
python3-debuginfo-3.7.16-1.amzn2.0.11.i686
src:
python3-3.7.16-1.amzn2.0.11.src
x86_64:
python3-3.7.16-1.amzn2.0.11.x86_64
python3-libs-3.7.16-1.amzn2.0.11.x86_64
python3-devel-3.7.16-1.amzn2.0.11.x86_64
python3-tools-3.7.16-1.amzn2.0.11.x86_64
python3-tkinter-3.7.16-1.amzn2.0.11.x86_64
python3-test-3.7.16-1.amzn2.0.11.x86_64
python3-debug-3.7.16-1.amzn2.0.11.x86_64
python3-debuginfo-3.7.16-1.amzn2.0.11.x86_64