Buffer overflow in Django - CVE-2012-3444

 

Buffer overflow in Django - CVE-2012-3444

Published: July 31, 2012 / Updated: July 28, 2020


Vulnerability identifier: #VU32760
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-3444
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform service disruption.

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.


Affected software

Django
Fedora
Ubuntu
py-django (Alpine package)
python-django (Ubuntu package)
Django

How to mitigate CVE-2012-3444

Install update from vendor's website.

Django - update to 1.3.2
py-django (Alpine package) - update to 1.4.1-r0
python-django (Ubuntu package) - addressed in versions 1.1.1-2ubuntu1.5, 1.2.5-1ubuntu1.2, 1.3-2ubuntu1.3, 1.3.1-4ubuntu1.2
Django - update to 1.3.2-1.el6

External References

Related Security Bulletins