Critical Vulnerabilities in python-django: Denial of Service and Email Enumeration Risks

python-django Updated 03 Oct 2025

Summary

03/09/2024
N/A
Yes i
Unrated
Not published

USN-6987-1: python-django vulnerabilities. Affects python-django versions < 1:1.11.11-1ubuntu1.21+esm7. Fixed in 1:1.11.11-1ubuntu1.21+esm7. 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 widely-used web framework for building web applications using the Python programming language. It is designed to make it easier to build web applications quickly and with less code. The framework emphasizes reusability, rapid development, and the principle of 'don't repeat yourself'. However, recent vulnerabilities have been identified that could compromise the security of applications built with this framework.

Vulnerability Detail

Two significant vulnerabilities have been discovered in python-django. The first, identified as CVE-2024-45230, relates to improper handling of certain inputs, which could allow an attacker to cause a denial of service. The second vulnerability, CVE-2024-45231, involves incorrect handling of email sending failures, enabling a remote attacker to enumerate user emails by issuing password reset requests and observing the outcomes. Both vulnerabilities pose serious risks to the integrity and confidentiality of user data.

How To Fix

Minimum fixed version

1:1.11.11-1ubuntu1.21+esm7

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 measure, consider implementing rate limiting on password reset requests to mitigate the risk of email enumeration. Additionally, ensure that your application logs and monitors unusual patterns of user activity.

Conclusion

In summary, critical vulnerabilities have been identified in python-django that could lead to denial of service and email enumeration risks. It is crucial to update to the latest patched versions to safeguard your applications. Implementing temporary workarounds can help mitigate risks until updates are applied.

See every vulnerability recorded for python-django →

Share this vulnerability

FAQ

The main vulnerabilities include a denial of service risk due to improper input handling and email enumeration through password reset requests.

You can use Vulert, which allows you to monitor and alert for open-source vulnerabilities in your software using just a manifest file. Visit Vulert Scanner to check your application without any signup.

Implement rate limiting on password reset requests and monitor your application for unusual user activity as a temporary workaround.

Yes, ensure you are using the patched versions: 1:1.11.11-1ubuntu1.21+esm7 for Ubuntu 18.04, 2:2.2.12-1ubuntu0.25 for Ubuntu 20.04, 2:3.2.12-2ubuntu1.14 for Ubuntu 22.04, and 3:4.2.11-1ubuntu1.3 for Ubuntu 24.04.

These vulnerabilities can lead to denial of service attacks and unauthorized enumeration of user emails, potentially compromising user data and application integrity.

Related vulnerabilities

Recent vulnerabilities recorded for python-django.

How To Fix

Minimum fixed version

1:1.11.11-1ubuntu1.21+esm7

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