CVE-2011-4137: Django verify_exists URLField Denial of Service Vulnerability

django Updated 02 Oct 2025

Summary

23/07/2018
Yes i
High
7.5

CVE-2011-4137: Denial of service in django. Affects django across 2 version ranges.

< 1.2.7 >= 1.3, < 1.3.1

Fixed in 1.2.7 or 1.3.1, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2011-4137 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

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

Django is a popular Python web framework that simplifies the development of web applications. It includes various features and components to handle common web development tasks, such as URL handling using the URLField implementation. However, versions before 1.2.7 and 1.3.x before 1.3.1 are vulnerable to a denial of service (DoS) attack due to the insecure implementation of the verify_exists functionality in the URLField.

Vulnerability Detail

The verify_exists functionality in Django's URLField relies on Python libraries that attempt to access an arbitrary URL without a timeout. This allows remote attackers to exploit the vulnerability in multiple ways:

  1. Slow response: Attackers can send a request to a URL that responds slowly, causing resource consumption and potentially leading to a DoS condition.
  2. Completed TCP connection with no application data sent: Attackers can establish a TCP connection to a URL without sending any application data, consuming server resources and potentially causing a DoS condition.
  3. Large amount of application data: Attackers can send a large amount of application data to a URL, overwhelming the server and causing a DoS condition.

This vulnerability is similar to CVE-2011-1521.

How To Fix

Latest published version: 6.1.2 as of 22 Oct 2026

pip install --upgrade "django==6.1.2"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 1.2.7 1.2.7
    pip install --upgrade "django==1.2.7"
  • >= 1.3, < 1.3.1 1.3.1
    pip install --upgrade "django==1.3.1"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If upgrading to a fixed version is not immediately possible, a workaround can be implemented by disabling the verify_exists functionality in the URLField. This can be done by setting the 'verify_exists' attribute of the URLField to False. However, it is important to note that this workaround may impact the functionality of the application and should only be considered as a temporary solution until the upgrade can be performed.

Conclusion

The Django verify_exists URLField vulnerability (CVE-2011-4137) can be exploited by remote attackers to cause a denial of service condition. It is recommended to upgrade to a fixed version of Django or apply the provided workaround. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for django →

Share this vulnerability

FAQ

Django is a Python web framework that simplifies web application development by providing various features and components.

The URLField is a field type in Django used for handling URLs. It provides validation and other functionality related to URLs.

This vulnerability can be exploited by remote attackers to cause a denial of service (DoS) condition, potentially leading to resource exhaustion and application downtime.

To fix this vulnerability, it is recommended to upgrade to a fixed version of Django (1.2.7 or 1.3.1). Alternatively, you can disable the verify_exists functionality in the URLField as a temporary workaround.

There are no known public exploits available for this vulnerability at the time of writing. However, it is important to apply the necessary security patches or upgrades to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for django.

How To Fix

Latest published version: 6.1.2 as of 22 Oct 2026

pip install --upgrade "django==6.1.2"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 1.2.7 1.2.7
    pip install --upgrade "django==1.2.7"
  • >= 1.3, < 1.3.1 1.3.1
    pip install --upgrade "django==1.3.1"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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