CVE-2015-2316 json
Django Denial-of-service possibility with strip_tags
published 2015-03-25 11 y ago modified 2026-06-17 4 mo ago also GHSA-j3j3-jrfh-cm2w , PYSEC-2015-18 , EUVD-2015-0007
- cvss
- 7.5
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.8%
- EPSS 4.8% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi django 1.6.11, 1.7.7, 1.8c1
- python-django Debian 14, Debian 13, Debian 12 1.7.7-1
debian advisories DEBIAN-CVE-2015-2316
- python-django Ubuntu 14.04 LTS 1.6.1-2ubuntu0.8
ubuntu advisories UBUNTU-CVE-2015-2316
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python-Django Enterprise Storage 1.0 1.6.11-4.1
suse advisories SUSE-SU-2015:1109-1SUSE-SU-2015:1112-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-2316 updated cvss 3.5
Django: possible denial of service in strip_tags()
-
Red Hat Enterprise Linux OpenStack Platform 5 (Icehouse) python-django Red Hat Enterprise Linux OpenStack Platform 6 (Juno) python-djangoaffected: no fix available “Fix deferred”
-
Red Hat OpenStack Platform 4 Django14 Red Hat Subscription Asset Manager Djangonot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.83% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django | >=1.6, <1.6.11 >=1.7, <1.7.7 >=1.8a1, <1.8c1 >=1.8a0, <1.8c1 |
1.6.11 1.7.7 1.8c1 |
Classification
- Weakness
- Technology feeds
References
-
djangoproject.com
/weblog/2015/mar/18/security-releases/
patch, vendor-advisory, article
-
github.com
/django/django/commit/5447709a571cd5d95971f1d5d21d4a7edcf85bbd
web
-
github.com
/django/django/commit/b6b3cb9899214a23ebb0f4ebf0e0b300b0ee524f
web
-
github.com
/django/django/commit/e63363f8e075fa8d66326ad6a1cc3391cc95cd97
web
-
ubuntu.com
/usn/USN-2539-1
vendor-advisory, web, third-party-advisory, advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2015-April/155421.html
vendor-advisory, web, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2015-04/msg00001.html
vendor-advisory, web, third-party-advisory
-
securityfocus.com
/bid/73322
vdb-entry, web
-
oracle.com
/technetwork/topics/security/bulletinapr2015-2511959.html
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2015-2316
advisory
-
github.com
/django/django
package
-
github.com
/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-18.yaml
web
-
web.archive.org
/web/20200229033201/http://www.securityfocus.com/bid/73322
web
-
djangoproject.com
/weblog/2015/mar/18/security-releases
web
-
github.com
/advisories/GHSA-j3j3-jrfh-cm2w
advisory
Sources
- CVE List CVE-2015-2316
- GitHub Advisory GHSA-j3j3-jrfh-cm2w
- NVD CVE-2015-2316
- OSV PYSEC-2015-18
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.