Advisory

GHSA-2hrw-hx67-34x6

Also known as: BIT-django-2023-24580, CVE-2023-24580, PYSEC-2023-13

Summary

Resource exhaustion in Django

Details

An issue was discovered in the Multipart Request Parser in Django 3.2 before 3.2.18, 4.0 before 4.0.10, and 4.1 before 4.1.7. Passing certain inputs (e.g., an excessive number of parts) to multipart forms could result in too many open files or memory exhaustion, and provided a potential vector for a denial-of-service attack.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-02-15 03:30 UTC
Modified
2025-03-19 15:45 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 3.2a1, fixed 3.2.18 (ecosystem)

Fixed versions

3.2.18

Fix

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

django

PyPI · All systems

Affected

  • introduced 4.1a1, fixed 4.1.7 (ecosystem)

Fixed versions

4.1.7

Fix

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

django

PyPI · All systems

Affected

  • introduced 4.0a1, fixed 4.0.10 (ecosystem)

Fixed versions

4.0.10

Fix

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

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