Resource management error in Django - CVE-2014-0474

 

Resource management error in Django - CVE-2014-0474

Published: April 23, 2014 / Updated: July 28, 2020


Vulnerability identifier: #VU32542
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-0474
CWE-ID: CWE-399
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

The (1) FilePathField, (2) GenericIPAddressField, and (3) IPAddressField model field classes in Django before 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7.x before 1.7 beta 2 do not properly perform type conversion, which allows remote attackers to have unspecified impact and vectors, related to "MySQL typecasting."


Affected software

Django
Gentoo Linux
Debian Linux
Fedora
Ubuntu
py-django (Alpine package)
python-django (Ubuntu package)
python-django (Debian package)
Django14

How to mitigate CVE-2014-0474

Install update from vendor's website.

Django - update to 1.7
py-django (Alpine package) - update to 1.5.6-r0
python-django (Ubuntu package) - addressed in versions 1.1.1-2ubuntu1.10, 1.3.1-4ubuntu1.9, 1.4.1-2ubuntu0.5, 1.5.4-1ubuntu1.1, 1.6.1-2ubuntu0.1
python-django (Debian package) - addressed in versions 1.2.3-3+squeeze10, 1.4.5-1+deb7u7
Django14 - update to 1.4.11-1.el6

External References

Related Security Bulletins