Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Django
  4. ›
  5. CVE-2022-23833

CVE-2022-23833: Infinite Loop in Django

February 4, 2022 (updated September 20, 2024)

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.

References

  • docs.djangoproject.com/en/4.0/releases/security
  • github.com/advisories/GHSA-6cw3-g6wv-c2xv
  • github.com/django/django
  • github.com/django/django/commit/c477b761804984c932704554ad35f78a2e230c6a
  • github.com/django/django/commit/d16133568ef9c9b42cb7a08bdf9ff3feec2e5468
  • github.com/django/django/commit/f9c7d48fdd6f198a6494a9202f90242f176e4fc9
  • github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-20.yaml
  • groups.google.com/forum/
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV
  • nvd.nist.gov/vuln/detail/CVE-2022-23833
  • security.netapp.com/advisory/ntap-20220221-0003
  • www.debian.org/security/2022/dsa-5254
  • www.djangoproject.com/weblog/2022/feb/01/security-releases

Code Behaviors & Features

Detect and mitigate CVE-2022-23833 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.2 before 2.2.27, all versions starting from 3.2 before 3.2.12, all versions starting from 4.0 before 4.0.2

Fixed versions

  • 2.2.27
  • 3.2.12
  • 4.0.2

Solution

Upgrade to versions 2.2.27, 3.2.12, 4.0.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')

Source file

pypi/Django/CVE-2022-23833.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:54 +0000.