CVEvulnerability
CVE-2021-32052
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-05-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-79
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.
Affected configurations
• djangoproject django (>= 2.2 < 2.2.22)
• djangoproject django (>= 3.1 < 3.1.10)
• djangoproject django (>= 3.2 < 3.2.2)
• fedoraproject fedora 34
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- http://www.openwall.com/lists/oss-security/2021/05/06/1 Mailing List, Patch, Third Party Advisory
- https://docs.djangoproject.com/en/3.2/releases/security/ Patch, Vendor Advisory
- https://groups.google.com/forum/#%21forum/django-announce groups.google.com
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/ lists.fedoraproject.org
- https://security.netapp.com/advisory/ntap-20210611-0002/ Third Party Advisory
- https://www.djangoproject.com/weblog/2021/may/06/security-releases/ Patch, Vendor Advisory
- http://www.openwall.com/lists/oss-security/2021/05/06/1 Mailing List, Patch, Third Party Advisory
- https://docs.djangoproject.com/en/3.2/releases/security/ Patch, Vendor Advisory
- https://groups.google.com/forum/#%21forum/django-announce groups.google.com
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/ lists.fedoraproject.org
- https://security.netapp.com/advisory/ntap-20210611-0002/ Third Party Advisory
- https://www.djangoproject.com/weblog/2021/may/06/security-releases/ Patch, Vendor Advisory