Advisory

GHSA-qrw5-5h28-6cmg

Also known as: BIT-django-2022-41323, CVE-2022-41323, PYSEC-2022-304

Summary

Django denial-of-service vulnerability in internationalized URLs

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

High Basis: The source's own band: HIGH

Dates

Published
2022-10-16 12:00 UTC
Modified
2024-09-20 15:48 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 3.2, fixed 3.2.16 (ecosystem)

Fixed versions

3.2.16

Fix

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

django

PyPI · All systems

Affected

  • introduced 4.0, fixed 4.0.8 (ecosystem)

Fixed versions

4.0.8

Fix

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

django

PyPI · All systems

Affected

  • introduced 4.1, fixed 4.1.2 (ecosystem)

Fixed versions

4.1.2

Fix

  • 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences