Skip to content
OpenAdvisories
High · 7.5 CVE-2012-3444 EUVD-2012-0005GHSA-5h2q-4hrp-v9rrPYSEC-2012-4

Django vulnerable to Improper Restriction of Operations within the Bounds of a Memory Buffer

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

Description

The get_image_dimensions function in the image-handling functionality in Django before 1.3.2 and 1.4.x before 1.4.1 uses a constant chunk size in all attempts to determine dimensions, which allows remote attackers to cause a denial of service (process or thread consumption) via a large TIFF image.

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-5h2q-4hrp-v9rr
PyPI django >= 1.4, < 1.4.1 1.4.1 GHSA-5h2q-4hrp-v9rr
PyPI django < 1.3.2 · >= 1.4, < 1.4.1 1.3.2, 1.4.1 PYSEC-2012-4

Advisories 1

References