Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Django
  4. ›
  5. CVE-2012-3444

CVE-2012-3444: Django vulnerable to Improper Restriction of Operations within the Bounds of a Memory Buffer

May 17, 2022 (updated September 16, 2024)

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.

References

  • github.com/advisories/GHSA-5h2q-4hrp-v9rr
  • github.com/django/django
  • github.com/django/django/commit/9ca0ff6268eeff92d0d0ac2c315d4b6a8e229155
  • github.com/django/django/commit/b2eb4787a0fff9c9993b78be5c698e85108f3446
  • github.com/django/django/commit/c14f325c4eef628bc7bfd8873c3a72aeb0219141
  • github.com/django/django/commit/da33d67181b53fe6cc737ac1220153814a1509f6
  • github.com/django/django/commit/dd16b17099b7d86f27773df048c5014cf439b282
  • github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2012-4.yaml
  • nvd.nist.gov/vuln/detail/CVE-2012-3444
  • www.djangoproject.com/weblog/2012/jul/30/security-releases-issued

Code Behaviors & Features

Detect and mitigate CVE-2012-3444 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.2, all versions starting from 1.4 before 1.4.1

Fixed versions

  • 1.3.2
  • 1.4.1

Solution

Upgrade to versions 1.3.2, 1.4.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer

Source file

pypi/Django/CVE-2012-3444.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:33 +0000.