An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 3 fixed, 9 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | Django (PyPI) | 1.11a1 to before 1.11.23 | 1.11.23 | Patch available | GHSA-c4qh-4vgv-qc6g |
| — | Django (PyPI) | 2.1a1 to before 2.1.11 | 2.1.11 | Patch available | GHSA-c4qh-4vgv-qc6g |
| — | Django (PyPI) | 2.2a1 to before 2.2.4 | 2.2.4 | Patch available | GHSA-c4qh-4vgv-qc6g |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- Django (PyPI) Vendor— Affected 1.11a1 to before 1.11.23 Fixed in 1.11.23 Patch available GHSA-c4qh-4vgv-qc6g
- Django (PyPI) Vendor— Affected 2.1a1 to before 2.1.11 Fixed in 2.1.11 Patch available GHSA-c4qh-4vgv-qc6g
- Django (PyPI) Vendor— Affected 2.2a1 to before 2.2.4 Fixed in 2.2.4 Patch available GHSA-c4qh-4vgv-qc6g
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | 1.11 to before 1.11.23; 2.1 to before 2.1.11; 2.2 to before 2.2.4 | Vulnerable | djangoproject |
| cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* | 15.1 | Vulnerable | openSUSE |
- cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* Versions 1.11 to before 1.11.23; 2.1 to before 2.1.11; 2.2 to before 2.2.4 Vulnerable ·djangoproject
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:* Versions 15.1 Vulnerable ·openSUSE
Remediation
- Fix · GHSA-c4qh-4vgv-qc6g Django (PyPI) Fixed in 1.11.23 Advisory →
- Fix · GHSA-c4qh-4vgv-qc6g Django (PyPI) Fixed in 2.1.11 Advisory →
- Fix · GHSA-c4qh-4vgv-qc6g Django (PyPI) Fixed in 2.2.4 Advisory →
Red Hat 2 advisories
- RHSA-2020:4390 Released 2020-10-28 · Red Hat rating Moderatepython-django security update
- Red Hat OpenStack Platform 13.0 python-django-1.11.27-1.el7ost, python-django-bash-completion-1.11.27-1.el7ost, python2-django-1.11.27-1.el7ost
- Red Hat OpenStack Platform 13.0 for RHEL 7.6 EUS Server python-django-1.11.27-1.el7ost, python-django-bash-completion-1.11.27-1.el7ost, python2-django-1.11.27-1.el7ost
- RHSA-2020:1324 Released 2020-04-06 · Red Hat rating Moderatepython-django security update
- Red Hat OpenStack Platform 15.0 python-django-2.1.11-1.el8ost, python-django-bash-completion-2.1.11-1.el8ost, python3-django-2.1.11-1.el8ost
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ceph Storage 2 | Affected | No fix planned: Will not fix |
| Red Hat Ceph Storage 3 | Affected | No fix planned: Will not fix |
| Red Hat Certification for Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 10 (Newton) | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 14 (Rocky) | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 9 (Mitaka) | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 9 (Mitaka) Operational Tools | Affected | No fix planned: Will not fix |
| Red Hat Storage 3 | Affected | No fix yet: Fix deferred |
| Red Hat Update Infrastructure 3 for Cloud Providers | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 13.0 | Fixed | RHSA-2020:4390 |
| Red Hat OpenStack Platform 13.0 for RHEL 7.6 EUS Server | Fixed | RHSA-2020:4390 |
| Red Hat OpenStack Platform 15.0 | Fixed | RHSA-2020:1324 |
Not affected: 2 products
- Red Hat Ceph Storage 2
- Red Hat Satellite 6
Timeline
- 2026-10-02 Threatist record created from CVE-2019-14232
- 2026-10-03 Alias added: GHSA-c4qh-4vgv-qc6g
References
Advisory 8
Other 17
- https://groups.google.com/forum/#%21topic/django-announce/jIoju2-KLDs
- 20190812 [SECURITY] [DSA 4498-1] python-django security update
- https://security.netapp.com/advisory/ntap-20190828-0002/
- [oss-security] 20231004 Django: CVE-2023-43665: Denial-of-service possibility in django.utils.text.Truncator
- [oss-security] 20240304 Django: CVE-2024-27351: Potential regular expression denial-of-service in django.utils.text.Truncator.words()
- https://www.openwall.com/lists/oss-security/2023/10/04/6
- https://www.djangoproject.com/weblog/2019/aug/01/security-releases
- https://security.netapp.com/advisory/ntap-20190828-0002
- https://lists.opensuse.org/archives/list/[email protected]/message/5XTP44JEOSNXRVW4JDZXA5XGMBDZLWSW
- https://lists.opensuse.org/archives/list/[email protected]/message/3LGJSPCN3VEG2UJPYCUB6TU75JTIV2TQ
- https://lists.fedoraproject.org/archives/list/[email protected]/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK
- https://groups.google.com/forum/#!topic/django-announce/jIoju2-KLDs
- https://github.com/pypa/advisory-db/tree/main/vulns/django/PYSEC-2019-11.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-11.yaml
- https://github.com/django/django
- https://docs.djangoproject.com/en/dev/releases/security
Sources
- CVE-2019-14232 · CVE Program
- CVE-2019-14232 · NVD
- FIRST EPSS
- GHSA-c4qh-4vgv-qc6g · GitHub Advisory Database · CC BY 4.0
- CVE-2019-14232 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences