Skip to content
OpenAdvisories
High · 7.5 CVE-2012-3443 EUVD-2012-0004GHSA-59w8-4wm2-4xw8PYSEC-2012-3

Django Image Field Vulnerable to Image Decompression Bombs

Published Jul 31, 2012 · Updated Aug 6, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 1.4.1-1 —
Debian 13 python-django 1.4.1-1 —
Debian 12 python-django 1.4.1-1 —
Debian 6.0 python-django 1.2.3-3+squeeze3 DSA-2529-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django < 1.3.2 1.3.2 GHSA-59w8-4wm2-4xw8
PyPI django >= 1.4, < 1.4.1 1.4.1 GHSA-59w8-4wm2-4xw8
PyPI django < 1.3.2 · >= 1.4, < 1.4.1 1.3.2, 1.4.1 PYSEC-2012-3

Advisories 1

References