CVE-2015-2316
HIGH7.5EPSS 2.3%Django Denial-of-service possibility with strip_tags
Published: 5/14/2022Modified: 4/28/2026
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.
Affected packages (3)
- Debian/python-djangofrom 0, < 1.7.7-1
- PyPI/django>= 1.6, < 1.6.11
- PyPI/django>= 1.6, < 1.6.11, >= 1.7, < 1.7.7, >= 1.8a0, < 1.8c1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (15)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2015-2316
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2015-2316
- ADVISORYhttps://www.djangoproject.com/weblog/2015/mar/18/security-releases/
- PATCHhttps://github.com/django/django
- WEBhttp://lists.fedoraproject.org/pipermail/package-announce/2015-April/155421.html
- WEBhttp://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html
- WEBhttps://github.com/django/django/commit/5447709a571cd5d95971f1d5d21d4a7edcf85bbd
- WEBhttps://github.com/django/django/commit/b6b3cb9899214a23ebb0f4ebf0e0b300b0ee524f
- WEBhttps://github.com/django/django/commit/e63363f8e075fa8d66326ad6a1cc3391cc95cd97
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-18.yaml
- WEBhttps://web.archive.org/web/20200229033201/http://www.securityfocus.com/bid/73322
- WEBhttps://www.djangoproject.com/weblog/2015/mar/18/security-releases
- WEBhttp://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html
- WEBhttp://www.securityfocus.com/bid/73322
- WEBhttp://www.ubuntu.com/usn/USN-2539-1