Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Django
  4. ›
  5. CVE-2007-5712

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

May 1, 2022 (updated November 18, 2024)

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.

References

  • exchange.xforce.ibmcloud.com/vulnerabilities/38143
  • github.com/advisories/GHSA-9v8h-57gv-qch6
  • github.com/django/django
  • github.com/django/django/commit/412ed22502e11c50dbfee854627594f0e7e2c234
  • github.com/django/django/commit/7dd2dd08a79e388732ce00e2b5514f15bd6d0f6f
  • github.com/django/django/commit/8bc36e726c9e8c75c681d3ad232df8e882aaac81
  • github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2007-1.yaml
  • nvd.nist.gov/vuln/detail/CVE-2007-5712
  • web.archive.org/web/20091201070224/http://secunia.com/advisories/27435
  • web.archive.org/web/20111224195100/http://secunia.com/advisories/27597
  • web.archive.org/web/20111229085535/http://secunia.com/advisories/31961
  • web.archive.org/web/20200228183657/http://www.securityfocus.com/bid/26227
  • www.redhat.com/archives/fedora-package-announce/2007-November/msg00243.html
  • www.redhat.com/archives/fedora-package-announce/2007-November/msg00257.html

Code Behaviors & Features

Detect and mitigate CVE-2007-5712 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.91.0 before 0.91.1, version 0.91.0, all versions starting from 0.95 before 0.95.2, all versions starting from 0.96.0 before 0.96.1, version 0.96.0

Fixed versions

  • 0.96.1
  • 0.95.2
  • 0.91.1

Solution

Upgrade to versions 0.91.1, 0.95.2, 0.96.1 or above.

Impact 5.9 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

pypi/Django/CVE-2007-5712.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:45 +0000.