SecurityContext

CVE-2021-32052: Django - HTTP Response Splitting

  • Cve: CVE-2021-32052
  • Name: Django - HTTP Response Splitting
  • 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.
  • Impact: Attackers can perform header injection, potentially leading to HTTP response splitting and web cache poisoning.
  • Remediation: Update Django to version 2.2.22, 3.1.10, 3.2.2 or later versions.
  • Vulnerability type: crlf_injection
  • Vulnerability impact: denial_of_service, web_cache_poisoning
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.03172
  • Epss percentile: 0.88362
  • Assignee: [email protected]
  • Published at: 2021-05-06T16:15:07Z
  • Age in days: 2028
  • Modified at: 2026-06-17T03:52:43Z
  • Patch available: yes
  • References total: 6
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-32052
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

Same in every row:

  • Source: nvd
UrlTags
https://docs.djangoproject.com/en/3.2/releases/security/Patch, Vendor Advisory
https://www.djangoproject.com/weblog/2021/may/06/security-releases/Patch, Vendor Advisory
http://www.openwall.com/lists/oss-security/2021/05/06/1Mailing List, Patch, Third Party Advisory
https://security.netapp.com/advisory/ntap-20210611-0002/Third Party Advisory
https://groups.google.com/forum/#%21forum/django-announce
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/

Products

ProductAffectedPlatform boundSourcesUrl
djangoproject:django>= 3.2, < 3.2.2; >= 3.1, < 3.1.10; >= 2.2, < 2.2.22yesnvd/v1/products/djangoproject/django
fedoraproject:fedora= 34nonvd/v1/products/fedoraproject/fedora

Projects

RepositoryLink kindsIndexedUrl
django/djangocommit, packageyes/v1/repositories/django/django

Index

  • Repositories: 94
  • Repositories high signal: 39
  • Packages: 1

Exploitation

  • Remote: yes
  • Exposed hosts: 2404431
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports