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.
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade python-django | Jul 30, 2024 | May 6, 2021 |
| Gentoo Linux | — | Upgrade dev-python/django. | Sep 18, 2025 | Sep 17, 2025 |
| Oracle Solaris | — | Upgrade library/python/asgiref to version 3.3.4-11.4.36.0.1.101.0 on Solaris 11.4Upgrade library/python/django to version 2.2.24-11.4.35.0.1.94.2 on Solaris 11.4Upgrade library/python/django-37 to version 2.2.24-11.4.35.0.1.94.2 on Solaris 11.4Upgrade library/python/asgiref-39 to version 3.3.4-11.4.36.0.1.101.0 on Solaris 11.4Upgrade library/python/django-39 to version 2.2.24-11.4.35.0.1.94.2 on Solaris 11.4 | Jul 21, 2021 | May 6, 2021 |
| Suse | — | Upgrade python3-django | Jan 4, 2023 | May 6, 2021 |
| Ubuntu | — | Upgrade python-djangoUpgrade python3-djangoUpgrade python-django (Ubuntu Pro)Upgrade python3-django (Ubuntu Pro) | Jun 3, 2021 | May 6, 2021 |
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub