CVE-2007-5712 Django vulnerable to Denial of Service via i18n middleware component

Low 2.6 Published Updated

Remote attackers can cause denial of service via memory consumption using large Accept-Language headers when internationalization is enabled.

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

What is CVE-2007-5712?

CVE-2007-5712 is a low-severity denial of service vulnerability in n/a, published on 30 Oct 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The internationalization (i18n) framework in Django 0.91, 0.95, 0.95.1, and 0.96, and as used in other products such as PyLucid, when the USE_I18N option and the i18n component are enabled, allows remote attackers to cause a denial of service (memory consumption) via many HTTP requests with large Accept-Language headers.

Weakness: CWE-399

Which versions are affected by CVE-2007-5712?

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

PackageAffectedFixed in
django PyPIAll versions1.1
django PyPIFrom 0.91.00.91.1
django PyPIFrom 0.950.95.2
django PyPIFrom 0.96.00.96.1
Django PyPIFrom 0.91.00.91.1
Django PyPIFrom 0.950.95.2
1 more packages
Django PyPIFrom 0.96.00.96.1

Products include Django Project Django.

How do I fix CVE-2007-5712?

Upgrade django to a fixed version for your release line: 1.1, 0.91.1, 0.95.2 or 0.96.1.

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-2007-5712 being exploited?

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

Sources

Also known as DEBIAN-CVE-2007-5712, GHSA-9v8h-57gv-qch6, PYSEC-2007-1.

Is CVE-2007-5712 in your software?

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

Check your SBOMs for free