CVE-2021-32052

medium
Published 2021-06-09 · Modified 2023-12-06
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v2
VIR risk
5.5

Description

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-32052

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2021-32052.html

OS impact

OSVersionStatusFixed in
arch archfixed3.2.2-1
suse slesaffected
debian debianbookwormfixed2:2.2.22-1
debian debianbullseyefixed2:2.2.22-1
debian debianforkyfixed2:2.2.22-1
debian debiansidfixed2:2.2.22-1
debian debiantrixiefixed2:2.2.22-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango>=2.2,<2.2.222.2.22
python PyPIdjango>=3.1,<3.1.103.1.10
python PyPIdjango>=3.2,<3.2.23.2.2

References

Verify integrity in audit chain (admin only). AS-IS.