Advisory

GHSA-5h2q-4hrp-v9rr

Also known as: CVE-2012-3444, PYSEC-2012-4

Summary

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

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-17 05:12 UTC
Modified
2024-09-16 21:47 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