{"id":"GHSA-j3j3-jrfh-cm2w","summary":"Django Denial-of-service possibility with strip_tags","details":"The `utils.html.strip_tags` function in Django 1.6.x before 1.6.11, 1.7.x before 1.7.7, and 1.8.x before 1.8c1, when using certain versions of Python, allows remote attackers to cause a denial of service (infinite loop) by increasing the length of the input string.","aliases":["CVE-2015-2316","PYSEC-2015-18"],"modified":"2024-09-18T16:07:25.355727Z","published":"2022-05-14T02:06:52Z","database_specific":{"github_reviewed_at":"2024-04-29T11:21:09Z","nvd_published_at":"2015-03-25T14:59:00Z","cwe_ids":["CWE-770"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-2316"},{"type":"WEB","url":"https://github.com/django/django/commit/5447709a571cd5d95971f1d5d21d4a7edcf85bbd"},{"type":"WEB","url":"https://github.com/django/django/commit/b6b3cb9899214a23ebb0f4ebf0e0b300b0ee524f"},{"type":"WEB","url":"https://github.com/django/django/commit/e63363f8e075fa8d66326ad6a1cc3391cc95cd97"},{"type":"PACKAGE","url":"https://github.com/django/django"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-18.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20200229033201/http://www.securityfocus.com/bid/73322"},{"type":"WEB","url":"https://www.djangoproject.com/weblog/2015/mar/18/security-releases"},{"type":"WEB","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155421.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html"},{"type":"WEB","url":"http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html"},{"type":"WEB","url":"http://www.ubuntu.com/usn/USN-2539-1"}],"affected":[{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.6"},{"fixed":"1.6.11"}]}],"versions":["1.6","1.6.1","1.6.10","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.7","1.6.8","1.6.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-j3j3-jrfh-cm2w/GHSA-j3j3-jrfh-cm2w.json"}},{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7"},{"fixed":"1.7.7"}]}],"versions":["1.7","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-j3j3-jrfh-cm2w/GHSA-j3j3-jrfh-cm2w.json"}},{"package":{"name":"django","ecosystem":"PyPI","purl":"pkg:pypi/django"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8a1"},{"fixed":"1.8c1"}]}],"versions":["1.8a1","1.8b1","1.8b2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-j3j3-jrfh-cm2w/GHSA-j3j3-jrfh-cm2w.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"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"}]}