Denial of Service Vulnerability in Python-Django Package

python-django Updated 03 Oct 2025

Summary

23/01/2025
N/A
Yes i
Unrated
Not published

USN-7205-2: python-django vulnerability. Affects python-django versions < 1:1.11.11-1ubuntu1.21+esm9. Fixed in 1:1.11.11-1ubuntu1.21+esm9. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Python-Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. It is widely used for building web applications and provides a robust set of features, including an ORM, URL routing, and an admin interface. The vulnerability in question affects the handling of certain IPv6 strings, which can lead to a denial of service, impacting the availability of applications built using this framework.

Vulnerability Detail

The vulnerability, identified as CVE-2024-56374, arises from Django's improper handling of specific IPv6 strings. This flaw allows an attacker to exploit the framework, potentially causing a denial of service. The issue was discovered during routine security assessments and is significant as it can disrupt the normal functioning of web applications, leading to downtime and loss of service for users.

How To Fix

Minimum fixed version

1:1.11.11-1ubuntu1.21+esm9

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-django

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

Workaround

As a temporary workaround, you may restrict access to the affected application or implement network-level protections to filter out malicious IPv6 traffic until the package can be updated.

Conclusion

The vulnerability in the Python-Django package poses a significant risk of denial of service due to improper handling of IPv6 strings. It is crucial to update to the patched version to mitigate this risk. Users are encouraged to monitor their applications for vulnerabilities using tools like Vulert, which can provide real-time alerts without requiring code access.

See every vulnerability recorded for python-django →

Share this vulnerability

FAQ

The vulnerability is a denial of service issue caused by improper handling of certain IPv6 strings in the Django framework.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If exploited, this vulnerability can lead to service disruptions, making your web application unavailable to users.

Yes, a patched version of the Python-Django package is available. You should update to version 1:1.11.11-1ubuntu1.21+esm9.

If immediate updates are not possible, consider implementing network-level protections or restricting access to the application as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for python-django.

How To Fix

Minimum fixed version

1:1.11.11-1ubuntu1.21+esm9

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-django

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