CVE-2014-0474
CRITICAL9.8EPSS 4.0%Django Vulnerable to MySQL Injection
Published: 5/17/2022Modified: 4/28/2026
Description
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 packages (3)
- Debian/python-djangofrom 0, < 1.6.3-1
- PyPI/djangofrom 0, < 1.4.11
- PyPI/djangofrom 0, < 1.4.11, >= 1.5, < 1.5.6, >= 1.6, < 1.6.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (15)
- ADVISORYhttp://secunia.com/advisories/61281
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2014-0474
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2014-0474
- ADVISORYhttps://www.djangoproject.com/weblog/2014/apr/21/security/
- PATCHhttps://github.com/django/django
- WEBhttp://lists.opensuse.org/opensuse-updates/2014-09/msg00023.html
- WEBhttp://rhn.redhat.com/errata/RHSA-2014-0456.html
- WEBhttp://rhn.redhat.com/errata/RHSA-2014-0457.html
- WEBhttps://github.com/django/django/commit/5f0829a27e85d89ad8c433f5c6a7a7d17c9e9292
- WEBhttps://github.com/django/django/commit/985434fb1d6bf2335bf96c6ebf91c3674f1f399f
- WEBhttps://github.com/django/django/commit/aa80f498de6d687e613860933ac58433ab71ea4b
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2014-3.yaml
- WEBhttps://www.djangoproject.com/weblog/2014/apr/21/security
- WEBhttp://www.debian.org/security/2014/dsa-2934
- WEBhttp://www.ubuntu.com/usn/USN-2169-1