CVE-2019-14232
HIGH 7.5CVSS 3.1Django Denial-of-service in django.utils.text.Truncator
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. If django.utils.text.Truncator's chars() and words() methods were passed the html=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which were thus vulnerable.
- Published
- 2 Aug 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-c4qh-4vgv-qc6gPYSEC-2019-11
- Sources
- NVDJSONOSV GHSA-c4qh-4vgv-qc6gJSONOSV PYSEC-2019-11JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 1.11, < 1.11.23 | 1.11.23 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 2.1, < 2.1.11 | 2.1.11 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 2.2, < 2.2.4 | 2.2.4 |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* |
= 15.1 | |
| OSV | PyPI | django | >= 1.11a1, < 1.11.23 | 1.11.23 |
| OSV | PyPI | django | >= 2.1a1, < 2.1.11 | 2.1.11 |
| OSV | PyPI | django | >= 2.2a1, < 2.2.4 | 2.2.4 |
| OSV | PyPI | django | >= 1.11, < 1.11.23; >= 2.1, < 2.1.11; >= 2.2, < 2.2.4 | 1.11.23, 2.1.11, 2.2.4 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html · Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html · WEB
- http://www.openwall.com/lists/oss-security/2023/10/04/6 · WEB
- http://www.openwall.com/lists/oss-security/2024/03/04/1 · WEB
- https://docs.djangoproject.com/en/dev/releases/security/ · Patch, Vendor Advisory, WEB
- https://groups.google.com/forum/#%21topic/django-announce/jIoju2-KLDs · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK/ · WEB
- https://seclists.org/bugtraq/2019/Aug/15 · WEB
- https://security.gentoo.org/glsa/202004-17 · WEB, ADVISORY
- https://security.netapp.com/advisory/ntap-20190828-0002/ · WEB, ADVISORY
- https://www.debian.org/security/2019/dsa-4498 · WEB, ADVISORY
- https://www.djangoproject.com/weblog/2019/aug/01/security-releases/ · Vendor Advisory, WEB, ARTICLE
- https://nvd.nist.gov/vuln/detail/CVE-2019-14232 · ADVISORY
- https://www.openwall.com/lists/oss-security/2023/10/04/6 · WEB
- https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/5XTP44JEOSNXRVW4JDZXA5XGMBDZLWSW · WEB
- https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/3LGJSPCN3VEG2UJPYCUB6TU75JTIV2TQ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK · WEB
- https://groups.google.com/forum/#!topic/django-announce/jIoju2-KLDs · WEB
- https://github.com/pypa/advisory-db/tree/main/vulns/django/PYSEC-2019-11.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-11.yaml · WEB
- https://github.com/django/django · PACKAGE
- https://github.com/advisories/GHSA-c4qh-4vgv-qc6g · ADVISORY
History
- 25 Nov 2026 20:22 UTC · NVD: first stored (published 2 Aug 2019)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Aug 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Aug 2019)