7.5high
Django Denial-of-service in strip_tags()
- Severity
- 7.5high CVSS:3.0 by NVD
- Exploit likelihood
- 3.17% (higher than 88% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-h5jv-4p7w-64jgPYSEC-2019-12
Description
An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. Due to the behaviour of the underlying HTMLParser, django.utils.html.strip_tags would be extremely slow to evaluate certain inputs containing large sequences of nested incomplete HTML entities.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| django (PyPI) | from 1.11a1 before 1.11.23, from 2.1a1 before 2.1.11, from 2.2a1 before 2.2.4, from 2.1 before 2.1.11, from 2.2 before 2.2.4, from 1.11 before 1.11.23 | GitHub Advisory Database, PyPA Advisory Database |
| djangoproject django | from 1.11 before 1.11.23, from 2.1 before 2.1.11, from 2.2 before 2.2.4 | NVD |
| opensuse leap | 15.1 | NVD |
All scores
| GitHub | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| NVD | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. Due to the behaviour of the underlying HTMLParser, django.utils.html.strip_tags would be extremely slow to evaluate certain inputs containing large sequences of nested incomplete HTML entities.
NVD (es)
Se detectó un problema en Django versiones 1.11.x anteriores a 1.11.23, versiones 2.1.x anteriores a 2.1.11 y versiones 2.2.x anteriores a 2.2.4. Debido al comportamiento del HTMLParser subyacente, django.utils.html.strip_tags sería extremadamente lento para evaluar ciertas entradas que contienen secuencias largas de entidades HTML incompletas anidadas.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2019-14233 changed 2024-08-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-h5jv-4p7w-64jg changed 2024-09-20 | CC-BY-4.0 |
| NVD | CVE-2019-14233 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2019-12 changed 2023-11-08 | CC-BY-4.0 |