{"id":"CVE-2021-32052","details":"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.","aliases":["BIT-django-2021-32052","GHSA-qm57-vhq3-3fwf","PYSEC-2021-8"],"modified":"2026-10-24T10:30:58.296048906Z","published":"2021-05-06T16:15:07.520Z","related":["openSUSE-SU-2023:0005-1","openSUSE-SU-2024:11205-1","openSUSE-SU-2024:13887-1","openSUSE-SU-2024:14208-1","openSUSE-SU-2026:10005-1","openSUSE-SU-2026:11235-1","openSUSE-SU-2026:11248-1","openSUSE-SU-2026:11270-1"],"database_specific":{"unresolved_ranges":[{"vendor_product":"fedoraproject:fedora","cpes":["cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"],"extracted_events":[{"range":[{"introduced":"34"},{"last_affected":"34"}],"source":"CPE_STRING"}]}]},"references":[{"type":"WEB","url":"https://groups.google.com/forum/#%21forum/django-announce"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210611-0002/"},{"type":"FIX","url":"http://www.openwall.com/lists/oss-security/2021/05/06/1"},{"type":"FIX","url":"https://docs.djangoproject.com/en/3.2/releases/security/"},{"type":"FIX","url":"https://www.djangoproject.com/weblog/2021/may/06/security-releases/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/django/django","events":[{"introduced":"2a62cdcfec85938f40abb2e9e6a9ff497e02afe8"},{"fixed":"df9fd4661e203d41c189054d8b23d256815e14fc"},{"introduced":"0b8a0296bfd30748f08021834e95cdae241686e8"},{"fixed":"a2407cd67bd98cc2de4ed7784eb6beee67b3898f"},{"introduced":"3591e1c1acbd7c13174275367c3fdf012cb0413b"},{"fixed":"26e033b1b7dd54aa8b55bc49d49d611bf6d09f85"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","range":[{"introduced":"2.2"},{"fixed":"2.2.22"}]},{"range":[{"introduced":"3.1"},{"fixed":"3.1.10"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","range":[{"introduced":"3.2"},{"fixed":"3.2.2"}],"source":"CPE_RANGE"}]}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-32052.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}