Resource management error in Django - CVE-2014-0474
Published: April 23, 2014 / Updated: July 28, 2020
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
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
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
- http://lists.opensuse.org/opensuse-updates/2014-09/msg00023.html
- http://rhn.redhat.com/errata/RHSA-2014-0456.html
- http://rhn.redhat.com/errata/RHSA-2014-0457.html
- http://secunia.com/advisories/61281
- http://www.debian.org/security/2014/dsa-2934
- http://www.ubuntu.com/usn/USN-2169-1
- https://www.djangoproject.com/weblog/2014/apr/21/security/