Advisory

GHSA-9v8h-57gv-qch6

Also known as: CVE-2007-5712, PYSEC-2007-1

Summary

Django vulnerable to Denial of Service via i18n middleware component

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-01 18:36 UTC
Modified
2024-11-18 16:26 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0.96.0, fixed 0.96.1 (ecosystem)

Fixed versions

0.96.1

Fix

  • Fixed version 0.96.1
    pip install --upgrade django==0.96.1

django

PyPI · All systems

Affected

  • introduced 0.95, fixed 0.95.2 (ecosystem)

Fixed versions

0.95.2

Fix

  • Fixed version 0.95.2
    pip install --upgrade django==0.95.2

django

PyPI · All systems

Affected

  • introduced 0.91.0, fixed 0.91.1 (ecosystem)

Fixed versions

0.91.1

Fix

  • Fixed version 0.91.1
    pip install --upgrade django==0.91.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences