Advisory

GHSA-6cw3-g6wv-c2xv

Also known as: BIT-django-2022-23833, CVE-2022-23833, PYSEC-2022-20

Summary

Infinite Loop in Django

Details

An issue was discovered in MultiPartParser in Django 2.2 before 2.2.27, 3.2 before 3.2.12, and 4.0 before 4.0.2. Passing certain inputs to multipart forms could result in an infinite loop when parsing files.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-02-04 00:00 UTC
Modified
2024-09-20 15:47 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 2.2, fixed 2.2.27 (ecosystem)

Fixed versions

2.2.27

Fix

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

django

PyPI · All systems

Affected

  • introduced 3.2, fixed 3.2.12 (ecosystem)

Fixed versions

3.2.12

Fix

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

django

PyPI · All systems

Affected

  • introduced 4.0, fixed 4.0.2 (ecosystem)

Fixed versions

4.0.2

Fix

  • Fixed version 4.0.2
    pip install --upgrade django==4.0.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