CVE-2022-23833
HIGH 7.5CVSS 3.1Infinite Loop in Django
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.
- Published
- 3 Feb 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-835
- Also known as
- BIT-django-2022-23833GHSA-6cw3-g6wv-c2xvPYSEC-2022-20
- Sources
- NVDJSONOSV GHSA-6cw3-g6wv-c2xvJSONOSV PYSEC-2022-20JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 2.2, < 2.2.27 | 2.2.27 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 3.2, < 3.2.12 | 3.2.12 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 4.0, < 4.0.2 | 4.0.2 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
= 34 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| OSV | PyPI | django | >= 2.2, < 2.2.27 | 2.2.27 |
| OSV | PyPI | django | >= 3.2, < 3.2.12 | 3.2.12 |
| OSV | PyPI | django | >= 4.0, < 4.0.2 | 4.0.2 |
| OSV | PyPI | django | >= 2.2, < 2.2.27; >= 3.2, < 3.2.12; >= 4.0, < 4.0.2 | 2.2.27, 3.2.12, 4.0.2 |
References
- https://docs.djangoproject.com/en/4.0/releases/security/ · Patch, Third Party Advisory, WEB
- https://github.com/django/django/commit/c477b761804984c932704554ad35f78a2e230c6a · WEB
- https://github.com/django/django/commit/d16133568ef9c9b42cb7a08bdf9ff3feec2e5468 · WEB
- https://github.com/django/django/commit/f9c7d48fdd6f198a6494a9202f90242f176e4fc9 · WEB
- https://groups.google.com/forum/#%21forum/django-announce
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV/
- https://security.netapp.com/advisory/ntap-20220221-0003/ · Third Party Advisory, WEB
- https://www.debian.org/security/2022/dsa-5254 · Third Party Advisory, WEB
- https://www.djangoproject.com/weblog/2022/feb/01/security-releases/ · Patch, Third Party Advisory, WEB, ARTICLE
- https://nvd.nist.gov/vuln/detail/CVE-2022-23833 · ADVISORY
- https://github.com/advisories/GHSA-6cw3-g6wv-c2xv · ADVISORY
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2022-20.yaml · WEB
- https://groups.google.com/forum/#!forum/django-announce · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/B4SQG2EAF4WCI2SLRL6XRDJ3RPK3ZRDV · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 3 Feb 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Feb 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Feb 2022)