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 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.
Cross-site Scripting
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
6.1 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 72%
VendorProductVersion
djangoprojectdjango
2.2 ≤
𝑥
< 2.2.22
djangoprojectdjango
3.1 ≤
𝑥
< 3.1.10
djangoprojectdjango
3.2 ≤
𝑥
< 3.2.2
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
python-django
bullseye (security)
2:2.2.28-1~deb11u2
fixed
bullseye
2:2.2.28-1~deb11u2
fixed
bookworm
3:3.2.19-1+deb12u1
fixed
bookworm (security)
3:3.2.19-1+deb12u1
fixed
sid
3:4.2.16-1
fixed
trixie
3:4.2.16-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
python-django
jammy
Fixed 2:2.2.22-1
released
impish
Fixed 2:2.2.22-1
released
hirsute
Fixed 2:2.2.20-1ubuntu0.2
released
groovy
Fixed 2:2.2.16-1ubuntu0.5
released
focal
Fixed 2:2.2.12-1ubuntu0.7
released
bionic
Fixed 1:1.11.11-1ubuntu1.17
released
xenial
not-affected
trusty
not-affected