CVE-2015-2316
MEDIUM 5.0CVSS 2.0Django Denial-of-service possibility with strip_tags
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.
- Published
- 25 Mar 2015
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-399CWE-770
- Also known as
- GHSA-j3j3-jrfh-cm2wPYSEC-2015-18
- Sources
- NVDJSONOSV GHSA-j3j3-jrfh-cm2wJSONOSV PYSEC-2015-18JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | oracle | solariscpe:2.3:o:oracle:solaris:11.2:*:*:*:*:*:*:* |
= 11.2 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6:-:*:*:*:*:*:* |
= 1.6 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6:beta1:*:*:*:*:*:* |
= 1.6 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6:beta2:*:*:*:*:*:* |
= 1.6 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6:beta3:*:*:*:*:*:* |
= 1.6 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6:beta4:*:*:*:*:*:* |
= 1.6 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.1:*:*:*:*:*:*:* |
= 1.6.1 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.2:*:*:*:*:*:*:* |
= 1.6.2 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.3:*:*:*:*:*:*:* |
= 1.6.3 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.4:*:*:*:*:*:*:* |
= 1.6.4 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.5:*:*:*:*:*:*:* |
= 1.6.5 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.6:*:*:*:*:*:*:* |
= 1.6.6 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.7:*:*:*:*:*:*:* |
= 1.6.7 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.8:*:*:*:*:*:*:* |
= 1.6.8 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.9:*:*:*:*:*:*:* |
= 1.6.9 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.10:*:*:*:*:*:*:* |
= 1.6.10 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7:beta1:*:*:*:*:*:* |
= 1.7 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7:beta2:*:*:*:*:*:* |
= 1.7 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7:beta3:*:*:*:*:*:* |
= 1.7 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7:beta4:*:*:*:*:*:* |
= 1.7 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7:rc1:*:*:*:*:*:* |
= 1.7 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7:rc2:*:*:*:*:*:* |
= 1.7 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7:rc3:*:*:*:*:*:* |
= 1.7 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7.1:*:*:*:*:*:*:* |
= 1.7.1 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7.2:*:*:*:*:*:*:* |
= 1.7.2 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7.3:*:*:*:*:*:*:* |
= 1.7.3 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7.4:*:*:*:*:*:*:* |
= 1.7.4 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7.5:*:*:*:*:*:*:* |
= 1.7.5 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7.6:*:*:*:*:*:*:* |
= 1.7.6 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.8.0:*:*:*:*:*:*:* |
= 1.8.0 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:lts:*:*:* |
= 10.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* |
= 12.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
= 14.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:* |
= 14.10 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:* |
= 22 | |
| NVD | opensuse | opensusecpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:* |
= 13.2 | |
| OSV | PyPI | django | >= 1.6, < 1.6.11 | 1.6.11 |
| OSV | PyPI | django | >= 1.7, < 1.7.7 | 1.7.7 |
| OSV | PyPI | django | >= 1.8a1, < 1.8c1 | 1.8c1 |
| OSV | PyPI | django | >= 1.6, < 1.6.11; >= 1.7, < 1.7.7; >= 1.8a0, < 1.8c1 | 1.6.11, 1.7.7, 1.8c1 |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/155421.html · Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-updates/2015-04/msg00001.html · Third Party Advisory, WEB
- http://www.oracle.com/technetwork/topics/security/bulletinapr2015-2511959.html · Third Party Advisory, WEB
- http://www.securityfocus.com/bid/73322 · WEB
- http://www.ubuntu.com/usn/USN-2539-1 · Third Party Advisory, WEB, ADVISORY
- https://www.djangoproject.com/weblog/2015/mar/18/security-releases/ · Patch, Vendor Advisory, WEB, ARTICLE
- https://nvd.nist.gov/vuln/detail/CVE-2015-2316 · ADVISORY
- https://github.com/django/django/commit/5447709a571cd5d95971f1d5d21d4a7edcf85bbd · WEB
- https://github.com/django/django/commit/b6b3cb9899214a23ebb0f4ebf0e0b300b0ee524f · WEB
- https://github.com/django/django/commit/e63363f8e075fa8d66326ad6a1cc3391cc95cd97 · WEB
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-18.yaml · WEB
- https://web.archive.org/web/20200229033201/http://www.securityfocus.com/bid/73322 · WEB
- https://github.com/advisories/GHSA-j3j3-jrfh-cm2w · ADVISORY
History
- 25 Nov 2026 20:18 UTC · NVD: first stored (published 25 Mar 2015)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 25 Mar 2015)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 14 May 2022)