CVE-2015-5145 Django ReDoS in validators.URLValidator

High 7.8 Published Updated

Remote attackers can cause denial of service via CPU consumption in Django's URL validator, affecting web applications using the library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2015-5145?

CVE-2015-5145 is a high-severity denial of service vulnerability in Djangoproject Django, published on 14 Jul 2015. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

validators.URLValidator in Django 1.8.x before 1.8.3 allows remote attackers to cause a denial of service (CPU consumption) via unspecified vectors.

Weakness: CWE-399

Which versions are affected by CVE-2015-5145?

3 open source packages ship an affected version, including django and Django. It affects 1 product.

PackageAffectedFixed in
django PyPIFrom 1.81.8.3
django PyPIFrom 1.8a11.8.3
Django PyPIFrom 1.8a11.8.3

Products include Djangoproject Django.

How do I fix CVE-2015-5145?

Upgrade django to 1.8.3 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2015-5145 being exploited?

There is no known exploitation of CVE-2015-5145 in the wild and no public exploit code.

All Djangoproject Django vulnerabilities

Sources

Also known as GHSA-cqf7-ff9h-7967, PYSEC-2015-21.

Is CVE-2015-5145 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free