{"id":"ALPINE-CVE-2018-7536","details":"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. The django.utils.html.urlize() function was extremely slow to evaluate certain inputs due to catastrophic backtracking vulnerabilities in two regular expressions (only one regular expression for Django 1.8.x). The urlize() function is used to implement the urlize and urlizetrunc template filters, which were thus vulnerable.","modified":"2026-03-09T01:13:32.320628Z","published":"2018-03-09T20:29:00.613Z","upstream":["CVE-2018-7536"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2018-7536"}],"affected":[{"package":{"name":"py-django","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/py-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.11-r0"}]}],"versions":["1.10.5-r0","1.10.7-r0","1.11-r0","1.11-r1","1.11.10-r0","1.11.5-r0","1.11.9-r0","1.2.5-r0","1.2.5-r1","1.4.1-r0","1.5-r0","1.5.1-r0","1.5.5-r0","1.5.6-r0","1.5.7-r0","1.5.8-r0","1.6.5-r0","1.6.6-r0","1.7-r0","1.8-r0","1.8.10-r0","1.8.12-r0","1.8.14-r0","1.8.15-r0","1.8.16-r0","1.8.3-r0","1.8.4-r0","1.8.6-r0","1.8.7-r0","1.8.8-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-7536.json"}},{"package":{"name":"py-django","ecosystem":"Alpine:v3.4","purl":"pkg:apk/alpine/py-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.19-r0"}]}],"versions":["1.2.5-r0","1.2.5-r1","1.4.1-r0","1.5-r0","1.5.1-r0","1.5.5-r0","1.5.6-r0","1.5.7-r0","1.5.8-r0","1.6.5-r0","1.6.6-r0","1.7-r0","1.8-r0","1.8.10-r0","1.8.12-r0","1.8.14-r0","1.8.15-r0","1.8.16-r0","1.8.18-r0","1.8.3-r0","1.8.4-r0","1.8.6-r0","1.8.7-r0","1.8.8-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-7536.json"}},{"package":{"name":"py-django","ecosystem":"Alpine:v3.5","purl":"pkg:apk/alpine/py-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.19-r0"}]}],"versions":["1.2.5-r0","1.2.5-r1","1.4.1-r0","1.5-r0","1.5.1-r0","1.5.5-r0","1.5.6-r0","1.5.7-r0","1.5.8-r0","1.6.5-r0","1.6.6-r0","1.7-r0","1.8-r0","1.8.10-r0","1.8.12-r0","1.8.14-r0","1.8.15-r0","1.8.16-r0","1.8.18-r0","1.8.3-r0","1.8.4-r0","1.8.6-r0","1.8.7-r0","1.8.8-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-7536.json"}},{"package":{"name":"py-django","ecosystem":"Alpine:v3.6","purl":"pkg:apk/alpine/py-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.11-r0"}]}],"versions":["1.10.5-r0","1.10.7-r0","1.11-r0","1.2.5-r0","1.2.5-r1","1.4.1-r0","1.5-r0","1.5.1-r0","1.5.5-r0","1.5.6-r0","1.5.7-r0","1.5.8-r0","1.6.5-r0","1.6.6-r0","1.7-r0","1.8-r0","1.8.10-r0","1.8.12-r0","1.8.14-r0","1.8.15-r0","1.8.16-r0","1.8.3-r0","1.8.4-r0","1.8.6-r0","1.8.7-r0","1.8.8-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-7536.json"}},{"package":{"name":"py-django","ecosystem":"Alpine:v3.7","purl":"pkg:apk/alpine/py-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.11-r0"}]}],"versions":["1.10.5-r0","1.10.7-r0","1.11-r0","1.11-r1","1.11.5-r0","1.2.5-r0","1.2.5-r1","1.4.1-r0","1.5-r0","1.5.1-r0","1.5.5-r0","1.5.6-r0","1.5.7-r0","1.5.8-r0","1.6.5-r0","1.6.6-r0","1.7-r0","1.8-r0","1.8.10-r0","1.8.12-r0","1.8.14-r0","1.8.15-r0","1.8.16-r0","1.8.3-r0","1.8.4-r0","1.8.6-r0","1.8.7-r0","1.8.8-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-7536.json"}},{"package":{"name":"py-django","ecosystem":"Alpine:v3.8","purl":"pkg:apk/alpine/py-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.11-r0"}]}],"versions":["1.10.5-r0","1.10.7-r0","1.11-r0","1.11-r1","1.11.10-r0","1.11.5-r0","1.11.9-r0","1.2.5-r0","1.2.5-r1","1.4.1-r0","1.5-r0","1.5.1-r0","1.5.5-r0","1.5.6-r0","1.5.7-r0","1.5.8-r0","1.6.5-r0","1.6.6-r0","1.7-r0","1.8-r0","1.8.10-r0","1.8.12-r0","1.8.14-r0","1.8.15-r0","1.8.16-r0","1.8.3-r0","1.8.4-r0","1.8.6-r0","1.8.7-r0","1.8.8-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-7536.json"}},{"package":{"name":"py-django","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/py-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.11-r0"}]}],"versions":["1.10.5-r0","1.10.7-r0","1.11-r0","1.11-r1","1.11.10-r0","1.11.5-r0","1.11.9-r0","1.2.5-r0","1.2.5-r1","1.4.1-r0","1.5-r0","1.5.1-r0","1.5.5-r0","1.5.6-r0","1.5.7-r0","1.5.8-r0","1.6.5-r0","1.6.6-r0","1.7-r0","1.8-r0","1.8.10-r0","1.8.12-r0","1.8.14-r0","1.8.15-r0","1.8.16-r0","1.8.3-r0","1.8.4-r0","1.8.6-r0","1.8.7-r0","1.8.8-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-7536.json"}},{"package":{"name":"py3-django","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/py3-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.11-r0"}]}],"versions":["1.10.5-r0","1.10.7-r0","1.11-r0","1.11-r1","1.11.10-r0","1.11.5-r0","1.11.9-r0","1.2.5-r0","1.2.5-r1","1.4.1-r0","1.5-r0","1.5.1-r0","1.5.5-r0","1.5.6-r0","1.5.7-r0","1.5.8-r0","1.6.5-r0","1.6.6-r0","1.7-r0","1.8-r0","1.8.10-r0","1.8.12-r0","1.8.14-r0","1.8.15-r0","1.8.16-r0","1.8.3-r0","1.8.4-r0","1.8.6-r0","1.8.7-r0","1.8.8-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-7536.json"}},{"package":{"name":"py3-django","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/py3-django?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.11-r0"}]}],"versions":["1.10.5-r0","1.10.7-r0","1.11-r0","1.11-r1","1.11.10-r0","1.11.5-r0","1.11.9-r0","1.2.5-r0","1.2.5-r1","1.4.1-r0","1.5-r0","1.5.1-r0","1.5.5-r0","1.5.6-r0","1.5.7-r0","1.5.8-r0","1.6.5-r0","1.6.6-r0","1.7-r0","1.8-r0","1.8.10-r0","1.8.12-r0","1.8.14-r0","1.8.15-r0","1.8.16-r0","1.8.3-r0","1.8.4-r0","1.8.6-r0","1.8.7-r0","1.8.8-r0"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-7536.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}