CVE-2019-14233
JSON

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 packageVersionsReported by
Unspecified productn/aCVE 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.23GitHub Advisory Database, PyPA Advisory Database
djangoproject djangofrom 1.11 before 1.11.23, from 2.1 before 2.1.11, from 2.2 before 2.2.4NVD
opensuse leap15.1NVD

All scores

GitHub7.5high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
NVD7.5high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV: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

https://docs.djangoproject.com/en/dev/releases/security/patch, vendor-advisory, web
https://groups.google.com/forum/#%21topic/django-announce/jIoju2-KLDs
https://www.djangoproject.com/weblog/2019/aug/01/security-releases/article, vendor-advisory
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.htmlthird-party-advisory, vendor-advisory, web
https://seclists.org/bugtraq/2019/Aug/15mailing-list, web
https://www.debian.org/security/2019/dsa-4498advisory, vendor-advisory, web
http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.htmlvendor-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK/vendor-advisory
https://security.netapp.com/advisory/ntap-20190828-0002/advisory
https://security.gentoo.org/glsa/202004-17advisory, vendor-advisory, web
https://nvd.nist.gov/vuln/detail/CVE-2019-14233advisory
https://docs.djangoproject.com/en/dev/releases/securityweb

Sources

SourceRecordLicence
CVE ListCVE-2019-14233 changed 2024-08-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-h5jv-4p7w-64jg changed 2024-09-20CC-BY-4.0
NVDCVE-2019-14233 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2019-12 changed 2023-11-08CC-BY-4.0