CVE-2019-14232 json
Django Denial-of-service in django.utils.text.Truncator
published 2019-08-02 7 y ago modified 2026-06-17 4 mo ago also GHSA-c4qh-4vgv-qc6g , PYSEC-2019-11 , EUVD-2019-0035
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.5%
- EPSS 3.5% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi django 1.11.23, 2.1.11, 2.2.4
- djangoblog_project djangoblog 2.2.4
- python-django Debian 12 3:3.2.25-0+deb12u1
- python-django Debian 14, Debian 13 2:2.2.4-1
debian advisories DEBIAN-CVE-2019-14232
- python-django Ubuntu 16.04 LTS 1.8.7-1ubuntu5.10
- python-django Ubuntu 18.04 LTS 1:1.11.11-1ubuntu1.5
- python-django Ubuntu 20.04 LTS 1:1.11.22-1ubuntu1
ubuntu advisories UBUNTU-CVE-2019-14232
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-django openstack 13 1.11.27-1.el7ost
- python2-django openstack 13 1.11.27-1.el7ost
- python-django-bash-completion openstack 13 1.11.27-1.el7ost
- python-django openstack 15 2.1.11-1.el8ost
- python3-django openstack 15 2.1.11-1.el8ost
- python-django-bash-completion openstack 15 2.1.11-1.el8ost
red hat advisories RHSA-2020:4390RHSA-2020:1324
- python-Django1 OpenStack Cloud Crowbar 9, OpenStack Cloud 9 1.11.23-3.9.1
- python-Django OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 1.11.23-3.12.1
- python-Django OpenStack Cloud 7 1.8.19-3.15.1
suse advisories SUSE-SU-2019:2335-1SUSE-SU-2019:2257-1SUSE-SU-2019:2180-1
- python-Django5 openSUSE Tumbleweed 5.2.16-1.1
- python-Django openSUSE Tumbleweed 5.2.16-1.1
- python-Django4 openSUSE Tumbleweed 4.2.30-4.1
- python-Django6 openSUSE Tumbleweed 6.0-1.1
- python-Django4 openSUSE Tumbleweed 4.2.14-1.1
- python-Django openSUSE Tumbleweed 3.2.7-2.3
- python-Django openSUSE Tumbleweed 4.2.11-2.1
- python-Django Package Hub 15 SP1 2.2.4-bp151.3.3.1
opensuse advisories openSUSE-SU-2026:11270-1openSUSE-SU-2026:11248-1openSUSE-SU-2026:11235-1openSUSE-SU-2026:10005-1openSUSE-SU-2024:14208-1openSUSE-SU-2024:11205-1
- py-django Alpine 3.10, Alpine 3.9, Alpine 3.8 +1 more 1.11.23-r0
- py3-django Alpine 3.24, Alpine 3.23, Alpine 3.22 +11 more 1.11.23-r0
alpine advisories ALPINE-CVE-2019-14232
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-django Arch Linux 2.2.4-1
arch linux advisories AVG-1015
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-14232 updated cvss 5.3
Django: backtracking in a regular expression in django.utils.text.Truncator leads to DoS
-
Red Hat Ceph Storage 2 python-django, python-django-bash-completion Red Hat Ceph Storage 3 python-django, python-django-bash-completionaffected: no fix planned “Will not fix”
-
Red Hat Certification for Red Hat Enterprise Linux 7 python-djangoaffected: no fix available “Fix deferred”
-
Red Hat OpenStack Platform 9 (Mitaka) python-django, python-django-bash-completion Red Hat OpenStack Platform 9 (Mitaka) Operational Tools python-django, python-django-bash-completion Red Hat OpenStack Platform 10 (Newton) python-django, python-django-bash-completionaffected: no fix planned “Will not fix”
-
Red Hat OpenStack Platform 14 (Rocky) python2-django, python-django-bash-completionaffected: no fix planned “Out of support scope”
-
Red Hat Storage 3 python-django, python2-django, python-django-bash-completion Red Hat Update Infrastructure 3 for Cloud Providers python-djangoaffected: no fix available “Fix deferred”
-
Red Hat OpenStack Platform 13.0 python-django 1.11.27-1.el7ost, python2-django 1.11.27-1.el7ost, python-django-bash-completion 1.11.27-1.el7ost Red Hat OpenStack Platform 13.0 for RHEL 7.6 EUS Server python-django 1.11.27-1.el7ost, python2-django 1.11.27-1.el7ost, python-django-bash-completion 1.11.27-1.el7ostfixed: vendor fix RHSA-2020:4390
-
Red Hat OpenStack Platform 15.0 python-django 2.1.11-1.el8ost, python3-django 2.1.11-1.el8ost, python-django-bash-completion 2.1.11-1.el8ostfixed: vendor fix RHSA-2020:1324
-
Red Hat Ceph Storage 2 calamari-server Red Hat Satellite 6 python-django, python2-django, python-django-bash-completionnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
3.53% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django | >=1.11a1, <1.11.23 >=2.1a1, <2.1.11 >=2.2a1, <2.2.4 >=1.11, <1.11.23 >=2.1, <2.1.11 >=2.2, <2.2.4 |
1.11.23 2.1.11 2.2.4 |
Affected products
- djangoblog_project djangoblog
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
- Technology feeds
References
-
docs.djangoproject.com
/en/dev/releases/security/
patch, vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2019-08/msg00006.html
vendor-advisory, web, third-party-advisory
-
debian.org
/security/2019/dsa-4498
vendor-advisory, web, advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-08/msg00025.html
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK/
vendor-advisory
-
security.gentoo.org
/glsa/202004-17
vendor-advisory, web, advisory
-
djangoproject.com
/weblog/2019/aug/01/security-releases/
vendor-advisory, article
-
groups.google.com
/forum/#%21topic/django-announce/jIoju2-KLDs
web
-
seclists.org
/bugtraq/2019/Aug/15
mailing-list, web
-
security.netapp.com
/advisory/ntap-20190828-0002/
advisory
-
openwall.com
/lists/oss-security/2023/10/04/6
mailing-list, web
-
openwall.com
/lists/oss-security/2024/03/04/1
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2019-14232
advisory
-
openwall.com
/lists/oss-security/2023/10/04/6
web
-
djangoproject.com
/weblog/2019/aug/01/security-releases
web
-
security.netapp.com
/advisory/ntap-20190828-0002
web
-
lists.opensuse.org
/archives/list/security-announce@lists.opensuse.org/message/5XTP44JEOSNXRVW4JDZXA5XGMBDZLWSW
web
-
lists.opensuse.org
/archives/list/security-announce@lists.opensuse.org/message/3LGJSPCN3VEG2UJPYCUB6TU75JTIV2TQ
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK
web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK
web
-
groups.google.com
/forum/#!topic/django-announce/jIoju2-KLDs
web
-
github.com
/pypa/advisory-db/tree/main/vulns/django/PYSEC-2019-11.yaml
web
-
github.com
/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-11.yaml
web
-
github.com
/django/django
package
-
github.com
/advisories/GHSA-c4qh-4vgv-qc6g
advisory
-
docs.djangoproject.com
/en/dev/releases/security
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK/
web
Sources
- CVE List CVE-2019-14232
- GitHub Advisory GHSA-c4qh-4vgv-qc6g
- NVD CVE-2019-14232
- OSV PYSEC-2019-11
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.