CVE-2021-32052

Summary

CVECVE-2021-32052
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-05-06 16:15:00 UTC
Updated2023-11-07 03:35:00 UTC
DescriptionIn 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.

Risk And Classification

Problem Types: CWE-79

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Djangoproject Django All All All All
Operating System Fedoraproject Fedora 34 All All All
Application Python Python All All All All

References

ReferenceSourceLinkTags
Redirecting to Google Groups groups.google.com
oss-security - Django: CVE-2021-32052: Header injection possibility since URLValidator accepted newlines in input on Python 3.9.5+ MISC www.openwall.com
Redirecting to Google Groups MISC groups.google.com
Archive of security issues | Django documentation | Django MISC docs.djangoproject.com
Django security releases issued: 3.2.2, 3.1.10, and 2.2.22 | Weblog | Django MISC www.djangoproject.com
[SECURITY] Fedora 34 Update: python-django-3.1.9-1.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 34 Update: python-django-3.1.9-1.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
CVE-2021-32052 Django Vulnerability in NetApp Products | NetApp Product Security CONFIRM security.netapp.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 179879 Debian Security Update for python-django (CVE-2021-32052)
  • 198394 Ubuntu Security Notification for Django vulnerabilities (USN-4975-1)
  • 198736 Ubuntu Security Notification for Django Vulnerabilities (USN-5373-1)
  • 281191 Fedora Security Update for python (FEDORA-2021-01044b8a59)
  • 296053 Oracle Solaris 11.4 Support Repository Update (SRU) 35.94.4 Missing (CPUJUL2021)
  • 982278 Python (pip) Security Update for Django (GHSA-qm57-vhq3-3fwf)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report