Advisory

GHSA-59w8-4wm2-4xw8

Also known as: CVE-2012-3443, PYSEC-2012-3

Summary

Django Image Field Vulnerable to Image Decompression Bombs

Details

The django.forms.ImageField class in the form system in Django before 1.3.2 and 1.4.x before 1.4.1 completely decompresses image data during image validation, which allows remote attackers to cause a denial of service (memory consumption) by uploading an image file.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-17 05:12 UTC
Modified
2024-09-17 15:21 UTC

Affected packages and fixes

django

PyPI · All systems

Affected

  • introduced 0, fixed 1.3.2 (ecosystem)

Fixed versions

1.3.2

Fix

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

django

PyPI · All systems

Affected

  • introduced 1.4, fixed 1.4.1 (ecosystem)

Fixed versions

1.4.1

Fix

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

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