Advisory

PYSEC-2015-18

Also known as: CVE-2015-2316, GHSA-j3j3-jrfh-cm2w

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2015-03-25 14:59 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 1.6, fixed 1.6.11, introduced 1.7, fixed 1.7.7, introduced 1.8a0, fixed 1.8c1 (ecosystem)

Fixed versions

1.6.11, 1.7.7, 1.8c1

Fix

  • Fixed version 1.6.11
    pip install --upgrade django==1.6.11
  • Fixed version 1.7.7
    pip install --upgrade django==1.7.7
  • Fixed version 1.8c1
    pip install --upgrade django==1.8c1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences