Skip to main content
EPSS 1.1%top 37%

Python3.4: The “ipaddress” module contained incorrect information about whether certain IPv4 and IPv6 addresses were designated as “globally reachable” or… (CVE-2024-4032)

0
Low
Published: 06/17/2024 (06/17/2024, 15:15:00 UTC)
Source: GCVE Database
Product: python3.4

Description

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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected software

Affected versions
>=8.0.0 <8.11.0>=9.0.0 <9.5.0Red HatRed Hat Enterprise LinuxRed Hat Enterprise Linux AppStream (v. 8)Red Hat Enterprise Linux CRB (v. 8)srcRed Hat Enterprise Linux BaseOS (v. 8)i686<3.5.2-2ubuntu0~16.04.4~14.04.1+esm4<3.5.2-2ubuntu0~16.04.13+esm16<3.8.10-0ubuntu1~20.04.11<3.10.12-1~22.04.5<3.12.3-1ubuntu0.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/15/2026, 18:03:50 UTC

Technical Analysis

Red Hat issued security updates for Python 3.9 and python39-devel modules to address several vulnerabilities. CVE-2024-4032 involves incorrect IPv4 and IPv6 private range handling in Python, potentially affecting network-related functionality. CVE-2024-6345 is a remote code execution vulnerability in the pypa/setuptools package_index module's download functions. CVE-2024-6923 concerns improper quoting of newlines in email headers within the Python email module, allowing header injection. CVE-2024-8088 is an additional vulnerability collected from NVD affecting CPython. These vulnerabilities affect multiple Red Hat Enterprise Linux 8 and 9 variants and related builder modules. Red Hat has released updated packages to remediate these issues, with detailed instructions available in their advisories.

Potential Impact

The vulnerabilities collectively pose a moderate security risk. Incorrect private IP range handling could lead to improper network behavior or security policy bypasses. Remote code execution in setuptools could allow attackers to execute arbitrary code during package installation or download. Email header injection could facilitate injection attacks via crafted email headers. The overall impact is mitigated by the availability of patches and updates from Red Hat. There are no known exploits in the wild at this time.

Mitigation Recommendations

Red Hat has released official security updates for the affected Python 3.9 packages and related modules in Red Hat Enterprise Linux 8 and 9. Users should apply these updates promptly following Red Hat's published guidance at https://access.redhat.com/articles/11258. The advisory indicates that the issues are fixed in the updated packages. No additional mitigations beyond applying the official patches are required.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_security_advisory
Csaf Version
2.0
Publisher
Red Hat Product Security
Advisory Id
RHSA-2024:5962
Cve Count
4
Additional Cves
["CVE-2024-6345","CVE-2024-6923","CVE-2024-8088"]

Threat ID: 6a1f4e82e29bf47b5007cc8e

Added to database: 06/02/2026, 21:43:30 UTC

Last enriched: 08/15/2026, 18:03:50 UTC

Last updated: 09/10/2026, 19:36:48 UTC

Views: 62

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses