Expected Behavior Violation Affecting python3-libs package, versions <0:3.9.20-1.amzn2023.0.2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-PYTHON3LIBS-8516304
  • published17 Dec 2024
  • disclosed17 Jun 2024

Introduced: 17 Jun 2024

CVE-2024-4032  (opens in a new tab)
CWE-440  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 python3-libs to version 0:3.9.20-1.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2024-790.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python3-libs package and not the python3-libs package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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 Scores

version 3.1