Vulnerability advisory
GHSA-j3j3-jrfh-cm2w
Django Denial-of-service possibility with strip_tags
Also known as CVE-2015-2316PYSEC-2015-18
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 4.0
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
Affected versions
| Affected | Fixed in |
|---|---|
1.6 to before 1.6.11 | 1.6.11Advisories → |
1.7 to before 1.7.7 | 1.7.7Advisories → |
1.8a1 to before 1.8c1 | 1.8c1Advisories → |
Description
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.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2015-2316 ↗
- Webgithub.com/django/django/commit/5447709a571cd5d95971f1d5d21d4a7edcf85bbd ↗
- Webgithub.com/django/django/commit/b6b3cb9899214a23ebb0f4ebf0e0b300b0ee524f ↗
- Webgithub.com/django/django/commit/e63363f8e075fa8d66326ad6a1cc3391cc95cd97 ↗
- Packagegithub.com/django/django ↗
- Webgithub.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-18.yaml ↗
- Webweb.archive.org/web/20200229033201/http://www.securityfocus.com/bid/73322 ↗
- Webwww.djangoproject.com/weblog/2015/mar/18/security-releases ↗
- Weblists.fedoraproject.org/pipermail/package-announce/2015-April/155421.html ↗
- Weblists.opensuse.org/opensuse-updates/2015-04/msg00001.html ↗
- Webwww.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html ↗
- Webwww.ubuntu.com/usn/USN-2539-1 ↗