Skip to content
Fencer Intel
high 7.5

CVE-2019-14232 json

Django Denial-of-service in django.utils.text.Truncator

published 7y ago modified 4mo 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

Is CVE-2019-14232 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

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-completion
    affected: no fix planned “Will not fix”
  • Red Hat Certification for Red Hat Enterprise Linux 7 python-django
    affected: 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-completion
    affected: no fix planned “Will not fix”
  • Red Hat OpenStack Platform 14 (Rocky) python2-django, python-django-bash-completion
    affected: 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-django
    affected: 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.el7ost
    fixed: 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.el8ost
    fixed: vendor fix RHSA-2020:1324
  • Red Hat Ceph Storage 2 calamari-server Red Hat Satellite 6 python-django, python2-django, python-django-bash-completion
    not 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
2y ago

Exploit prediction

3.53% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).

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

Sources

Fencer Intel 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.