cbcvebase.
CVE-2021-32052
published 2021-05-06

CVE-2021-32052: In Django 2.2 before 2.2.22, 3.1 before 3.1.10, and 3.2 before 3.2.2 (with Python 3.9.5+), URLValidator does not prohibit newlines and tabs (unless the…

PriorityP429medium6.1CVSS 3.1
AVNACLPRNUIRSCCLILAN
EPSS
3.15%
86.3th percentile
In Django 2.2 before 2.2.22, 3.1 before 3.1.10, and 3.2 before 3.2.2 (with Python 3.9.5+), URLValidator does not prohibit newlines and tabs (unless the URLField form field is used). If an application uses values with newlines in an HTTP response, header injection can occur. Django itself is unaffected because HttpResponse prohibits newlines in HTTP headers.

Affected

8 ranges
VendorProductVersion rangeFixed in
debianpython-django< python-django 2:2.2.22-1 (bookworm)python-django 2:2.2.22-1 (bookworm)
djangoprojectdjango>= 2.2 < 2.2.222.2.22
djangoprojectdjango>= 2.2 < 2.2.222.2.22
djangoprojectdjango>= 3.1 < 3.1.103.1.10
djangoprojectdjango>= 3.1 < 3.1.103.1.10
djangoprojectdjango>= 3.2 < 3.2.23.2.2
djangoprojectdjango>= 3.2 < 3.2.23.2.2
fedoraprojectfedora

CVSS provenance

nvdv3.16.1MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
osv6.1MEDIUM
vendor_debian6.1LOW
vendor_redhat6.1MEDIUM
vendor_ubuntu6.1MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.