{"id":"CVE-2014-0474","aliases":["GHSA-wqjj-hx84-v449","PYSEC-2014-3"],"url":"https://o3.security/vulnerability/CVE-2014-0474","summary":"Django Vulnerable to MySQL Injection","details":"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":"2014-04-23T15:55:03Z","modified":"2026-04-16T06:25:53.541067243Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"django","fixedVersion":"1.4.11"},{"ecosystem":"PyPI","name":"django","fixedVersion":"1.5.6"},{"ecosystem":"PyPI","name":"django","fixedVersion":"1.6.3"}],"fix":{"url":"https://github.com/django/django/commit/5f0829a27e85d89ad8c433f5c6a7a7d17c9e9292","label":"django/django@5f0829a"},"references":[{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2014-0456.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2014-0457.html"},{"type":"ADVISORY","url":"http://secunia.com/advisories/61281"},{"type":"ADVISORY","url":"http://www.debian.org/security/2014/dsa-2934"},{"type":"ADVISORY","url":"http://www.ubuntu.com/usn/USN-2169-1"},{"type":"ADVISORY","url":"https://www.djangoproject.com/weblog/2014/apr/21/security/"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2014-09/msg00023.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-0474"},{"type":"WEB","url":"https://github.com/django/django/commit/5f0829a27e85d89ad8c433f5c6a7a7d17c9e9292"},{"type":"WEB","url":"https://github.com/django/django/commit/985434fb1d6bf2335bf96c6ebf91c3674f1f399f"},{"type":"WEB","url":"https://github.com/django/django/commit/aa80f498de6d687e613860933ac58433ab71ea4b"},{"type":"PACKAGE","url":"https://github.com/django/django"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2014-3.yaml"},{"type":"WEB","url":"https://www.djangoproject.com/weblog/2014/apr/21/security"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-04-16T06:25:53.541067243Z"}}