Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXFtNTctdmhxMy0zZndm
Header injection possible in Django
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.
Permalink: https://github.com/advisories/GHSA-qm57-vhq3-3fwfJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXFtNTctdmhxMy0zZndm
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: almost 2 years ago
Updated: 4 months ago
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
Identifiers: GHSA-qm57-vhq3-3fwf, CVE-2021-32052
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-32052
- https://github.com/django/django/commit/e1e81aa1c4427411e3c68facdd761229ffea6f6f
- https://bugzilla.redhat.com/show_bug.cgi?id=1944801
- https://docs.djangoproject.com/en/3.2/releases/security/
- https://groups.google.com/forum/#!forum/django-announce
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/
- https://www.djangoproject.com/weblog/2021/may/06/security-releases/
- http://www.openwall.com/lists/oss-security/2021/05/06/1
- https://security.netapp.com/advisory/ntap-20210611-0002/
- https://github.com/advisories/GHSA-qm57-vhq3-3fwf
Affected Packages
pypi:Django
Versions: >= 3.2.0, < 3.2.2, >= 3.1.0, < 3.1.10, >= 2.2.0, < 2.2.22Fixed in: 3.2.2, 3.1.10, 2.2.22