CVE-2024-4032:
The “ipaddress” module contained incorrect information about whether certain IPv4 and IPv6...
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.6609%
CWE
Published
6/17/2024
Updated
8/30/2024
KEV Status
No
Technology
-
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from incorrect definitions of private and global IP address ranges within the ipaddress
module. This affected the is_private
and is_global
properties of IPv4Address
, IPv6Address
, IPv4Network
, and IPv6Network
classes. The provided patches show modifications to the logic of these properties and updates to the underlying lists (_private_networks
and _private_networks_exceptions
in _IPv4Constants
and _IPv6Constants
) used to determine address status. Therefore, these properties were the vulnerable functions, as they would return incorrect results prior to the patch. The patch evidence points to the changed logic in these methods or the constants they rely upon.