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.
Platform | Package | Release Date | Advisory |
---|---|---|---|
Amazon Linux 2 - Core | python-ipaddress | 2025-02-12 23:17 | ALAS2-2025-2761 |
Amazon Linux 2 - Core | python3 | 2025-02-12 23:17 | ALAS2-2025-2762 |
Amazon Linux 2023 | python3.11 | 2025-01-30 03:53 | ALAS2023-2025-829 |
Amazon Linux 2023 | python3.9 | 2024-12-12 20:19 | ALAS2023-2024-790 |
Amazon Linux 2 - Python3.8 Extra | python38 | 2024-11-08 17:57 | ALAS2PYTHON3.8-2024-016 |
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
NVD | CVSSv3 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |