{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-14232","id":"CVE-2019-14232","title":"Django Denial-of-service in django.utils.text.Truncator","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. 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_htm","descriptionLong":"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":"2019-08-02T00:00:00.000Z","updated":"2026-11-16T10:45:17.760780818Z","reserved":"2019-07-22T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=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"],"fixed":["1.11.23","2.1.11","2.2.4"],"advisory":"GHSA-c4qh-4vgv-qc6g"}],"cwes":["CWE-400"],"aliases":["GHSA-c4qh-4vgv-qc6g","PYSEC-2019-11"],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"https://groups.google.com/forum/#%21topic/django-announce/jIoju2-KLDs","tags":["x_transferred","web"]},{"url":"https://www.djangoproject.com/weblog/2019/aug/01/security-releases/","tags":["x_transferred","Vendor Advisory","advisory","article"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00006.html","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://seclists.org/bugtraq/2019/Aug/15","tags":["mailing-list","x_transferred","web"]},{"url":"https://www.debian.org/security/2019/dsa-4498","tags":["vendor-advisory","x_transferred","advisory","web"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK/","tags":["vendor-advisory","x_transferred","web"]},{"url":"https://security.netapp.com/advisory/ntap-20190828-0002/","tags":["x_transferred","advisory"]},{"url":"https://security.gentoo.org/glsa/202004-17","tags":["vendor-advisory","x_transferred","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2023/10/04/6","tags":["mailing-list","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/03/04/1","tags":["mailing-list","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14232","tags":["advisory"]},{"url":"https://www.openwall.com/lists/oss-security/2023/10/04/6","tags":["web"]},{"url":"https://www.djangoproject.com/weblog/2019/aug/01/security-releases","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20190828-0002","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/5XTP44JEOSNXRVW4JDZXA5XGMBDZLWSW","tags":["web"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/message/3LGJSPCN3VEG2UJPYCUB6TU75JTIV2TQ","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK","tags":["web"]},{"url":"https://groups.google.com/forum/#!topic/django-announce/jIoju2-KLDs","tags":["web"]},{"url":"https://github.com/pypa/advisory-db/tree/main/vulns/django/PYSEC-2019-11.yaml","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-11.yaml","tags":["web"]},{"url":"https://github.com/django/django","tags":["package"]},{"url":"https://github.com/advisories/GHSA-c4qh-4vgv-qc6g","tags":["advisory"]},{"url":"https://docs.djangoproject.com/en/dev/releases/security","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK/","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.03531,"epssPercentile":0.89486,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-14232","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-14232","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-14232","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c4qh-4vgv-qc6g","ok":true,"note":"GHSA-c4qh-4vgv-qc6g"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-14232","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}