Skip to content
Fencer Intel
high 7.5

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-django
    affected: no fix available “Fix deferred”
  • Red Hat OpenStack Platform 4 Django14 Red Hat Subscription Asset Manager Django
    not 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
  • CWE-399 Resource Management Errors
  • CWE-770 Allocation of Resources Without Limits or Throttling
Technology feeds

References

Sources

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.