ADVISORIES

Alpine Security Database

ALPINE-CVE-2024-4032

Details

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.

Affected packages

EcosystemPackageAffected versions
Alpine:v3.17python3
All versions before 3.10.15-r0 (fixed in 3.10.15-r0)
Alpine:v3.18python3
All versions before 3.11.10-r0 (fixed in 3.11.10-r0)
Alpine:v3.19python3
All versions before 3.11.10-r0 (fixed in 3.11.10-r0)
Alpine:v3.20python3
All versions before 3.12.6-r0 (fixed in 3.12.6-r0)
Alpine:v3.21python3
All versions before 3.12.6-r0 (fixed in 3.12.6-r0)
Alpine:v3.22python3
All versions before 3.12.6-r0 (fixed in 3.12.6-r0)
Alpine:v3.23python3
All versions before 3.12.6-r0 (fixed in 3.12.6-r0)
Alpine:v3.24python3
All versions before 3.12.6-r0 (fixed in 3.12.6-r0)

References