Advisory

PYSEC-2022-304

Also known as: BIT-django-2022-41323, CVE-2022-41323, GHSA-qrw5-5h28-6cmg

Summary

The record has no summary.

Details

In Django 3.2 before 3.2.16, 4.0 before 4.0.8, and 4.1 before 4.1.2, internationalized URLs were subject to a potential denial of service attack via the locale parameter, which is treated as a regular expression.

Severity

Not rated by the source.

Dates

Published
2022-10-16 06:15 UTC
Modified
2026-06-10 17:01 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 3.2, fixed 3.2.16, introduced 4.0, fixed 4.0.8, introduced 4.1, fixed 4.1.2 (ecosystem)

Fixed versions

3.2.16, 4.0.8, 4.1.2

Fix

  • Fixed version 3.2.16
    pip install --upgrade django==3.2.16
  • Fixed version 4.0.8
    pip install --upgrade django==4.0.8
  • Fixed version 4.1.2
    pip install --upgrade django==4.1.2

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: PyPA Advisory Database · CC BY 4.0

Sources & licences