CVE-2021-32052: djangoproject django
Vulnerability summary
CVE-2021-32052 is a medium (CVSS 6.1) vulnerability in djangoproject django. EPSS estimates a 3.17% chance of exploitation in the next 30 days, higher than 88% of scored vulnerabilities.
Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 12 · Related 11Timeline
- 06-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 4 sources · 3 versions- OSV · PypiEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
3.17%
Chance of exploitation in the next 30 days
Percentile
88%
Versus all other CVEs
30-day change
No change 0.00 pp
From 3.17% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Debian1 product
- python-django< 2:2.2.22-1
Djangoproject1 product
- django≥ 2.2, < 2.2.22 | ≥ 3.1, < 3.1.10 | ≥ 3.2, < 3.2.2
Fedoraproject1 product
- fedoraEOL34
PyPI1 product
- django≥ 2.2, < 2.2.22 | ≥ 3.1, < 3.1.10 | ≥ 3.2, < 3.2.2
Ubuntu1 product
- python-django< 1:1.11.11-1ubuntu1.17 | < 2:2.2.12-1ubuntu0.7
5 vendors · 5 products
References
24 links- groups.google.com/forum/X Refsource MISC
- www.openwall.com/lists/oss-security/2021/05/06/1X Refsource MISCWEBREPORTMailing ListPatchThird Party Advisory
- www.djangoproject.com/weblog/2021/may/06/security-releases/X Refsource MISCARTICLEREPORTPatchVendor Advisory
Show all 24 references
- github.com/django/djangoPACKAGE