{"id":"CVE-2018-7537","state":"PUBLISHED","title":"An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. If django.utils.text.Truncator's chars() and words() methods were passed the html=Tr","description":"An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. 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.","publishedAt":"2018-03-09T20:00:00.000Z","updatedAt":"2024-08-05T06:31:04.518Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://usn.ubuntu.com/3591-1/","https://lists.debian.org/debian-lts-announce/2018/03/msg00006.html","https://www.djangoproject.com/weblog/2018/mar/06/security-releases/","https://access.redhat.com/errata/RHSA-2018:2927","http://www.securityfocus.com/bid/103357","https://access.redhat.com/errata/RHSA-2019:0265","https://www.debian.org/security/2018/dsa-4161"],"weaknesses":[],"ingestedAt":"2026-10-29T19:45:00.684Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/7xxx/CVE-2018-7537.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-7537","state":"PUBLISHED","datePublished":"2018-03-09T20:00:00.000Z","dateUpdated":"2024-08-05T06:31:04.518Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-02-26T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. 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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://usn.ubuntu.com/3591-1/","name":"USN-3591-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/03/msg00006.html","name":"[debian-lts-announce] 20180308 [SECURITY] [DLA 1303-1] python-django security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.djangoproject.com/weblog/2018/mar/06/security-releases/","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2927","name":"RHSA-2018:2927","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/bid/103357","name":"103357","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0265","name":"RHSA-2019:0265","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.debian.org/security/2018/dsa-4161","name":"DSA-4161","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-02-04T10:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2018-03-06T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-7537","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"An issue was discovered in Django 2.0 before 2.0.3, 1.11 before 1.11.11, and 1.8 before 1.8.19. 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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"USN-3591-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/3591-1/"},{"name":"[debian-lts-announce] 20180308 [SECURITY] [DLA 1303-1] python-django security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2018/03/msg00006.html"},{"name":"https://www.djangoproject.com/weblog/2018/mar/06/security-releases/","refsource":"CONFIRM","url":"https://www.djangoproject.com/weblog/2018/mar/06/security-releases/"},{"name":"RHSA-2018:2927","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:2927"},{"name":"103357","refsource":"BID","url":"http://www.securityfocus.com/bid/103357"},{"name":"RHSA-2019:0265","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:0265"},{"name":"DSA-4161","refsource":"DEBIAN","url":"https://www.debian.org/security/2018/dsa-4161"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://usn.ubuntu.com/3591-1/","name":"USN-3591-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/03/msg00006.html","name":"[debian-lts-announce] 20180308 [SECURITY] [DLA 1303-1] python-django security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://www.djangoproject.com/weblog/2018/mar/06/security-releases/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2927","name":"RHSA-2018:2927","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.securityfocus.com/bid/103357","name":"103357","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0265","name":"RHSA-2019:0265","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://www.debian.org/security/2018/dsa-4161","name":"DSA-4161","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T06:31:04.518Z"}}]}}}