Advisory

GHSA-296w-6qhq-gf92

Also known as: CVE-2014-0481, PYSEC-2014-5

Summary

Django denial of service via file upload naming

Details

The default configuration for the file upload handling system in Django before 1.4.14, 1.5.x before 1.5.9, 1.6.x before 1.6.6, and 1.7 before release candidate 3 uses a sequential file name generation process when a file with a conflicting name is uploaded, which allows remote attackers to cause a denial of service (CPU consumption) by unloading a multiple files with the same name.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-14 02:05 UTC
Modified
2025-02-19 05:35 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.4.14 (ecosystem)

Fixed versions

1.4.14

Fix

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

django

PyPI · All systems

Affected

  • introduced 1.5, fixed 1.5.9 (ecosystem)

Fixed versions

1.5.9

Fix

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

django

PyPI · All systems

Affected

  • introduced 1.6, fixed 1.6.6 (ecosystem)

Fixed versions

1.6.6

Fix

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

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