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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2021-05-06T15:49:20

Updated: 2024-08-03T23:17:28.409Z

Reserved: 2021-05-05T00:00:00

Link: CVE-2021-32052

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-05-06T16:15:07.520

Modified: 2023-11-07T03:35:12.487

Link: CVE-2021-32052

cve-icon Redhat

Severity : Important

Publid Date: 2021-05-06T00:00:00Z

Links: CVE-2021-32052 - Bugzilla