Advisory

GHSA-jhjg-w2cp-5j44

Also known as: CVE-2015-0221, PYSEC-2015-6

Summary

Django DoS in django.views.static.serve

Details

The django.views.static.serve view in Django before 1.4.18, 1.6.x before 1.6.10, and 1.7.x before 1.7.3 reads files an entire line at a time, which allows remote attackers to cause a denial of service (memory consumption) via a long line in a file.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-17 03:20 UTC
Modified
2025-02-19 05:38 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.4.18 (ecosystem)

Fixed versions

1.4.18

Fix

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

django

PyPI · All systems

Affected

  • introduced 1.6, fixed 1.6.10 (ecosystem)

Fixed versions

1.6.10

Fix

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

django

PyPI · All systems

Affected

  • introduced 1.7, fixed 1.7.3 (ecosystem)

Fixed versions

1.7.3

Fix

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

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