Infrastructure vulnerabilities
Django
Django Software Foundation · 59 CVE · Critical 5 · High 27 · In CISA KEV 0
Project site ↗Vendor advisories ↗
Check your version
e.g. 4.2.0 — run python -m django --version
All tracked CVEs · 59
In Django 3.2 before 3.2.25, 4.2 before 4.2.11, and 5.0 before 5.0.3, the django.utils.text.Truncator.words() method (with html=True) and the truncatewords_html template filter are subject to a potential regular expression denial-of-service attack via a crafted string. NOTE: thi…
- django≥ 5.0, < 5.0.3Fixed in 5.0.3
- django≥ 4.2, < 4.2.11Fixed in 4.2.11
- django≥ 3.2, < 3.2.25Fixed in 3.2.25
An issue was discovered in Django 3.2 before 3.2.24, 4.2 before 4.2.10, and Django 5.0 before 5.0.2. The intcomma template filter was subject to a potential denial-of-service attack when used with very long strings.
- django≥ 5.0, < 5.0.2Fixed in 5.0.2
- django≥ 4.2, < 4.2.10Fixed in 4.2.10
- django≥ 3.2, < 3.2.24Fixed in 3.2.24
In Django 3.2 before 3.2.22, 4.1 before 4.1.12, and 4.2 before 4.2.6, the django.utils.text.Truncator chars() and words() methods (when used with html=True) are subject to a potential DoS (denial of service) attack via certain inputs with very long, potentially malformed HTML te…
- django≥ 4.2a1, < 4.2.6Fixed in 4.2.6
- django≥ 4.1a1, < 4.1.12Fixed in 4.1.12
- django≥ 3.2a1, < 3.2.22Fixed in 3.2.22
In Django 3.2 before 3.2.21, 4.1 before 4.1.11, and 4.2 before 4.2.5, django.utils.encoding.uri_to_iri() is subject to a potential DoS (denial of service) attack via certain inputs with a very large number of Unicode characters.
- django≥ 4.2, < 4.2.5Fixed in 4.2.5
- django≥ 4.1, < 4.1.11Fixed in 4.1.11
- django≥ 3.2, < 3.2.21Fixed in 3.2.21
An issue was discovered in Django 3.2 before 3.2.23, 4.1 before 4.1.13, and 4.2 before 4.2.7. The NFKC normalization is slow on Windows. As a consequence, django.contrib.auth.forms.UsernameField is subject to a potential DoS (denial of service) attack via certain inputs with a v…
- django≥ 4.2a1, < 4.2.7Fixed in 4.2.7
- django≥ 4.1a1, < 4.1.13Fixed in 4.1.13
- django≥ 3.2a1, < 3.2.23Fixed in 3.2.23
In Django 3.2 before 3.2.20, 4 before 4.1.10, and 4.2 before 4.2.3, EmailValidator and URLValidator are subject to a potential ReDoS (regular expression denial of service) attack via a very large number of domain name labels of emails and URLs.
- django≥ 4.2a1, < 4.2.3Fixed in 4.2.3
- django≥ 4.0a1, < 4.1.10Fixed in 4.1.10
- django≥ 3.2a1, < 3.2.20Fixed in 3.2.20
In Django 3.2 before 3.2.19, 4.x before 4.1.9, and 4.2 before 4.2.1, it was possible to bypass validation when using one form field to upload multiple files. This multiple upload has never been supported by forms.FileField or forms.ImageField (only the last uploaded file was val…
- django≥ 4.2a1, < 4.2.1Fixed in 4.2.1
- django≥ 4.0a1, < 4.1.9Fixed in 4.1.9
- django≥ 3.2a1, < 3.2.19Fixed in 3.2.19
An issue was discovered in the Multipart Request Parser in Django 3.2 before 3.2.18, 4.0 before 4.0.10, and 4.1 before 4.1.7. Passing certain inputs (e.g., an excessive number of parts) to multipart forms could result in too many open files or memory exhaustion, and provided a p…
- django≥ 4.1a1, < 4.1.7Fixed in 4.1.7
- django≥ 4.0a1, < 4.0.10Fixed in 4.0.10
- django≥ 3.2a1, < 3.2.18Fixed in 3.2.18
In Django 3.2 before 3.2.17, 4.0 before 4.0.9, and 4.1 before 4.1.6, the parsed values of Accept-Language headers are cached in order to avoid repetitive parsing. This leads to a potential denial-of-service vector via excessive memory usage if the raw value of Accept-Language he…
- django≥ 4.1a1, < 4.1.6Fixed in 4.1.6
- django≥ 4.0a1, < 4.0.9Fixed in 4.0.9
- django≥ 3.2a1, < 3.2.17Fixed in 3.2.17