CVE-2014-0474
HIGH 10.0CVSS 2.0Django Vulnerable to MySQL 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."
- Published
- 23 Apr 2014
- Last modified
- 17 Jun 2026
- Assigned by
- security@debian.org
- NVD status
- Modified
- Weakness
- CWE-399CWE-89
- Also known as
- GHSA-wqjj-hx84-v449PYSEC-2014-3
- Sources
- NVDJSONOSV GHSA-wqjj-hx84-v449JSONOSV PYSEC-2014-3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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/E:U | |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 10.0 | AV:N/AC:L/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:10.04:-:lts:*:*:*:*:* |
= 10.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:-:lts:*:*:*:*:* |
= 12.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:* |
= 12.10 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:13.10:*:*:*:*:*:*:* |
= 13.10 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
= 14.04 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6:*:*:*:*:*:*:* |
= 1.6 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.1:*:*:*:*:*:*:* |
= 1.6.1 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.6.2:*:*:*:*:*:*:* |
= 1.6.2 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
<= 1.4.10 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:* |
= 1.4 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.4.1:*:*:*:*:*:*:* |
= 1.4.1 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.4.2:*:*:*:*:*:*:* |
= 1.4.2 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.4.3:*:*:*:*:*:*:* |
= 1.4.3 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.4.4:*:*:*:*:*:*:* |
= 1.4.4 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.4.5:*:*:*:*:*:*:* |
= 1.4.5 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.4.6:*:*:*:*:*:*:* |
= 1.4.6 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.4.7:*:*:*:*:*:*:* |
= 1.4.7 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.4.8:*:*:*:*:*:*:* |
= 1.4.8 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.4.9:*:*:*:*:*:*:* |
= 1.4.9 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7:alpha1:*:*:*:*:*:* |
= 1.7 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7:alpha2:*:*:*:*:*:* |
= 1.7 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.7:beta1:*:*:*:*:*:* |
= 1.7 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.5:*:*:*:*:*:*:* |
= 1.5 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.5.1:*:*:*:*:*:*:* |
= 1.5.1 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.5.2:*:*:*:*:*:*:* |
= 1.5.2 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.5.3:*:*:*:*:*:*:* |
= 1.5.3 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.5.4:*:*:*:*:*:*:* |
= 1.5.4 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.5.5:*:*:*:*:*:*:* |
= 1.5.5 | |
| OSV | PyPI | django | < 1.4.11 | 1.4.11 |
| OSV | PyPI | django | >= 1.5, < 1.5.6 | 1.5.6 |
| OSV | PyPI | django | >= 1.6, < 1.6.3 | 1.6.3 |
| OSV | PyPI | django | < 1.4.11; >= 1.5, < 1.5.6; >= 1.6, < 1.6.3 | 1.4.11, 1.5.6, 1.6.3 |
References
- http://lists.opensuse.org/opensuse-updates/2014-09/msg00023.html · WEB
- http://rhn.redhat.com/errata/RHSA-2014-0456.html · WEB, ADVISORY
- http://rhn.redhat.com/errata/RHSA-2014-0457.html · WEB, ADVISORY
- http://secunia.com/advisories/61281 · ADVISORY
- http://www.debian.org/security/2014/dsa-2934 · WEB, ADVISORY
- http://www.ubuntu.com/usn/USN-2169-1 · WEB, ADVISORY
- https://www.djangoproject.com/weblog/2014/apr/21/security/ · Vendor Advisory, WEB, ARTICLE
- https://nvd.nist.gov/vuln/detail/CVE-2014-0474 · ADVISORY
- https://github.com/django/django/commit/5f0829a27e85d89ad8c433f5c6a7a7d17c9e9292 · WEB
- https://github.com/django/django/commit/985434fb1d6bf2335bf96c6ebf91c3674f1f399f · WEB
- https://github.com/django/django/commit/aa80f498de6d687e613860933ac58433ab71ea4b · WEB
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2014-3.yaml · WEB
- https://github.com/advisories/GHSA-wqjj-hx84-v449 · ADVISORY
History
- 25 Nov 2026 20:18 UTC · NVD: first stored (published 23 Apr 2014)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Apr 2014)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 May 2022)