CVE-2014-0474: SQL Injection
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/Djangoto a version that resolves this vulnerability.Fixed in 1.6.3 - Upgrade
Upgrade
pip/Djangoto a version that resolves this vulnerability.Fixed in 1.5.6 - Upgrade
Upgrade
pip/djangoto a version that resolves this vulnerability.Fixed in 1.4.11 - Upgrade
Upgrade
Djangoto a version that resolves this vulnerability.Fixed in 1.4.11 - Upgrade
Upgrade
Djangoto a version that resolves this vulnerability.Fixed in 1.5.6 - Upgrade
Upgrade
Djangoto a version that resolves this vulnerability.Fixed in 1.6.3 - Upgrade
Upgrade
Djangoto a version that resolves this vulnerability.Fixed in 1.7 beta 2
Event History
Frequently Asked Questions
What is the severity of CVE-2014-0474?
CVE-2014-0474 has a medium severity level due to improper type conversion vulnerabilities.
How do I fix CVE-2014-0474?
To fix CVE-2014-0474, upgrade Django to version 1.4.11, 1.5.6, 1.6.3, or later.
What versions of Django are affected by CVE-2014-0474?
CVE-2014-0474 affects Django versions prior to 1.4.11, 1.5.x before 1.5.6, 1.6.x before 1.6.3, and 1.7 beta 2.
Can remote attackers exploit CVE-2014-0474?
Yes, remote attackers could exploit CVE-2014-0474 due to insufficient type conversion.
What fields are affected by CVE-2014-0474 in Django?
The affected fields in Django for CVE-2014-0474 are FilePathField, GenericIPAddressField, and IPAddressField.