GitHub Advisoryadvisory · PyPI
GHSA-5h2q-4hrp-v9rr Django vulnerable to Improper Restriction of Operations within the Bounds of a Memory Buffer
HIGH
Official page ↗
- Aliases
- CVE-2012-3444
- Ecosystem
- PyPI
- Packages
- Django
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-119
- Reviewed
- 2023-04-21
Affected packages
• PyPI Django: < 1.3.2 → fixed in 1.3.2
• PyPI Django: >= 1.4, < 1.4.1 → fixed in 1.4.1
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.
Related
Alias · CVE (1)
- CVE-2012-3444 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… vulnerability
Weakness · CWE (1)
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-3444 advisory
- https://github.com/django/django/commit/9ca0ff6268eeff92d0d0ac2c315d4b6a8e229155 web
- https://github.com/django/django/commit/b2eb4787a0fff9c9993b78be5c698e85108f3446 web
- https://github.com/django/django/commit/c14f325c4eef628bc7bfd8873c3a72aeb0219141 web
- https://github.com/django/django/commit/da33d67181b53fe6cc737ac1220153814a1509f6 web
- https://github.com/django/django/commit/dd16b17099b7d86f27773df048c5014cf439b282 web
- https://github.com/django/django package
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2012-4.yaml web
- https://www.djangoproject.com/weblog/2012/jul/30/security-releases-issued web
- http://www.debian.org/security/2012/dsa-2529 web
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:143 web
- http://www.openwall.com/lists/oss-security/2012/07/31/1 web
- http://www.openwall.com/lists/oss-security/2012/07/31/2 web
- http://www.ubuntu.com/usn/USN-1560-1 web