Advisory

GHSA-j3j3-jrfh-cm2w

Also known as: CVE-2015-2316, PYSEC-2015-18

Summary

Django Denial-of-service possibility with strip_tags

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

High Basis: The source's own band: HIGH

Dates

Published
2022-05-14 02:06 UTC
Modified
2024-09-18 16:08 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 1.6, fixed 1.6.11 (ecosystem)

Fixed versions

1.6.11

Fix

  • Fixed version 1.6.11
    pip install --upgrade django==1.6.11

django

PyPI · All systems

Affected

  • introduced 1.7, fixed 1.7.7 (ecosystem)

Fixed versions

1.7.7

Fix

  • Fixed version 1.7.7
    pip install --upgrade django==1.7.7

django

PyPI · All systems

Affected

  • introduced 1.8a1, fixed 1.8c1 (ecosystem)

Fixed versions

1.8c1

Fix

  • 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences