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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | django | >= 2.2, < 2.2.22, >= 3.1, < 3.1.10, >= 3.2, < 3.2.2 | 2.2.22, 3.1.10, 3.2.2 |
Verweise
- https://docs.djangoproject.com/en/3.2/releases/security/
- http://www.openwall.com/lists/oss-security/2021/05/06/1
- https://groups.google.com/forum/#!forum/django-announce
- https://www.djangoproject.com/weblog/2021/may/06/security-releases/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/
- https://github.com/advisories/GHSA-qm57-vhq3-3fwf
- 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://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-8.yaml
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE
- https://security.netapp.com/advisory/ntap-20210611-0002
- https://www.djangoproject.com/weblog/2021/may/06/security-releases
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Schwäche (CWE)
CWE-79, CWE-88- Plattform
- Python (PyPI)
- Paket
django- Veröffentlicht
- 06.05.2021
- Aktualisiert
- 11.10.2026 11:20
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2021-8 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-qm57-vhq3-3fwf - CC BY 4.0
Schwachstellenhistorie: django
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 162
- Erste → letzte
- 10.2007 08.2026
- Ohne Fix
- 1
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 16
- Hoch 65
- Mittel 63
- Niedrig 18
Veröffentlichungen pro Jahr
- 2017: 3
- 2018: 5
- 2019: 11
- 2020: 6
- 2021: 8
- 2022: 14
- 2023: 7
- 2024: 14
- 2025: 12
- 2026: 26
früher: 56
-
Header injection possible in Django dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.