Moderate Security Update for Python 3.12: Addressing Multiple Vulnerabilities

python3.12 Updated 02 Oct 2025

Summary

12/11/2024
N/A
Yes i
Unrated
Not published

ALSA-2024:9190: Moderate: python3.12 security update. Affects python3.12 versions < 3.12.5-2.el9. Fixed in 3.12.5-2.el9. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Python 3.12 is a high-level, dynamically typed programming language known for its emphasis on code readability and extensive standard library. It is widely used in various applications, from web development to data analysis. The python3.12 package includes the reference interpreter for Python, while additional libraries and documentation are provided in related packages. This version has been found vulnerable to several security issues that could lead to denial of service and incorrect handling of private IP ranges.

Vulnerability Detail

The vulnerabilities in Python 3.12 include issues in the zipfile module that can be exploited to create zip-bombs, leading to denial of service (CVE-2024-0450). Additionally, there are incorrect definitions of IPv4 and IPv6 private ranges (CVE-2024-4032) and a risk of denial of service when iterating over malicious ZIP files (CVE-2024-8088). These vulnerabilities can be exploited by attackers to disrupt service availability and compromise the integrity of applications relying on Python.

How To Fix

Minimum fixed version

3.12.5-2.el9

This is the first release that contains the fix.

sudo dnf update python3.12

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary measure, avoid processing untrusted ZIP files and validate input data to prevent exploitation of the vulnerabilities until the packages are updated.

Conclusion

The security update for Python 3.12 addresses critical vulnerabilities that could lead to denial of service and incorrect handling of IP ranges. It is essential for users to update their packages to the latest version to ensure the security and stability of their applications. Utilizing tools like Vulert can further enhance vulnerability management.

See every vulnerability recorded for python3.12 →

Share this vulnerability

FAQ

A zip-bomb is a malicious ZIP file designed to crash or render a system unusable by consuming excessive resources when decompressed.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by these vulnerabilities without needing to sign up.

Failing to update may leave your application vulnerable to denial of service attacks and incorrect handling of network ranges, potentially leading to security breaches.

Environments that rely heavily on Python for web services, data processing, or any application that handles user-uploaded ZIP files are particularly at risk.

Vulert monitors and alerts for open-source vulnerabilities in software using a manifest file like package-lock.json, providing real-time insights into potential risks.

Related vulnerabilities

Recent vulnerabilities recorded for python3.12.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

3.12.5-2.el9

This is the first release that contains the fix.

sudo dnf update python3.12

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback