CVE Vulnerabilities

CVE-2022-23833

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Feb 03, 2022 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

NameVendorStart VersionEnd Version
DjangoDjangoproject2.2 (including)2.2.27 (excluding)
DjangoDjangoproject3.2 (including)3.2.12 (excluding)
DjangoDjangoproject4.0 (including)4.0.2 (excluding)
Red Hat OpenStack Platform 16.1RedHatpython-django20-0:2.0.13-18.el8ost*
Red Hat OpenStack Platform 16.2RedHatpython-django20-0:2.0.13-18.el8ost*
Red Hat Satellite 6.11 for RHEL 8RedHatpython-django-0:3.2.13-1.el8pc*
Red Hat Satellite 6.11 for RHEL 8RedHatpython-django-0:3.2.13-1.el8pc*
Python-djangoUbuntubionic*
Python-djangoUbuntudevel*
Python-djangoUbuntuesm-infra-legacy/trusty*
Python-djangoUbuntuesm-infra/bionic*
Python-djangoUbuntuesm-infra/focal*
Python-djangoUbuntuesm-infra/xenial*
Python-djangoUbuntufocal*
Python-djangoUbuntuimpish*
Python-djangoUbuntujammy*
Python-djangoUbuntutrusty/esm*
Python-djangoUbuntuupstream*

References