The (1) FilePathField, (2) GenericIPAddressField, and (3) IPAddressField model field…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Code execution, SQL injection
- Confidentiality · integrity · availability
- Complete · Complete · Complete
- Fix status
- Partial Red Hat: 2 fixed, 1 without a fix
Attack profile from CVSS 2.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-399, CWE-89 and the CVSS impact.
Summary
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."
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | Django (PyPI) | before 1.4.11 | 1.4.11 | Patch available | GHSA-wqjj-hx84-v449 |
| — | Django (PyPI) | 1.5 to before 1.5.6 | 1.5.6 | Patch available | GHSA-wqjj-hx84-v449 |
| — | Django (PyPI) | 1.6 to before 1.6.3 | 1.6.3 | Patch available | GHSA-wqjj-hx84-v449 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- Django (PyPI) Vendor— Affected before 1.4.11 Fixed in 1.4.11 Patch available GHSA-wqjj-hx84-v449
- Django (PyPI) Vendor— Affected 1.5 to before 1.5.6 Fixed in 1.5.6 Patch available GHSA-wqjj-hx84-v449
- Django (PyPI) Vendor— Affected 1.6 to before 1.6.3 Fixed in 1.6.3 Patch available GHSA-wqjj-hx84-v449
CPE configurations NVD · 28
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:canonical:ubuntu_linux:10.04:-:lts:*:*:*:*:* | 10.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:12.04:-:lts:*:*:*:*:* | 12.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:* | 12.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:13.10:*:*:*:*:*:*:* | 13.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:a:djangoproject:django:1.6:*:*:*:*:*:*:* | 1.6 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.6.1:*:*:*:*:*:*:* | 1.6.1 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.6.2:*:*:*:*:*:*:* | 1.6.2 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | up to 1.4.10 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:* | 1.4 | Vulnerable | djangoproject |
- cpe:2.3:o:canonical:ubuntu_linux:10.04:-:lts:*:*:*:*:* Versions 10.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:12.04:-:lts:*:*:*:*:* Versions 12.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:* Versions 12.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:13.10:*:*:*:*:*:*:* Versions 13.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:a:djangoproject:django:1.6:*:*:*:*:*:*:* Versions 1.6 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.6.1:*:*:*:*:*:*:* Versions 1.6.1 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.6.2:*:*:*:*:*:*:* Versions 1.6.2 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* Versions up to 1.4.10 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.4:*:*:*:*:*:*:* Versions 1.4 Vulnerable ·djangoproject
Show 18 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:djangoproject:django:1.4.1:*:*:*:*:*:*:* | 1.4.1 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.4.2:*:*:*:*:*:*:* | 1.4.2 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.4.3:*:*:*:*:*:*:* | 1.4.3 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.4.4:*:*:*:*:*:*:* | 1.4.4 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.4.5:*:*:*:*:*:*:* | 1.4.5 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.4.6:*:*:*:*:*:*:* | 1.4.6 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.4.7:*:*:*:*:*:*:* | 1.4.7 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.4.8:*:*:*:*:*:*:* | 1.4.8 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.4.9:*:*:*:*:*:*:* | 1.4.9 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.7:alpha1:*:*:*:*:*:* | 1.7 alpha1 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.7:alpha2:*:*:*:*:*:* | 1.7 alpha2 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.7:beta1:*:*:*:*:*:* | 1.7 beta1 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.5:*:*:*:*:*:*:* | 1.5 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.5.1:*:*:*:*:*:*:* | 1.5.1 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.5.2:*:*:*:*:*:*:* | 1.5.2 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.5.3:*:*:*:*:*:*:* | 1.5.3 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.5.4:*:*:*:*:*:*:* | 1.5.4 | Vulnerable | djangoproject |
| cpe:2.3:a:djangoproject:django:1.5.5:*:*:*:*:*:*:* | 1.5.5 | Vulnerable | djangoproject |
- cpe:2.3:a:djangoproject:django:1.4.1:*:*:*:*:*:*:* Versions 1.4.1 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.4.2:*:*:*:*:*:*:* Versions 1.4.2 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.4.3:*:*:*:*:*:*:* Versions 1.4.3 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.4.4:*:*:*:*:*:*:* Versions 1.4.4 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.4.5:*:*:*:*:*:*:* Versions 1.4.5 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.4.6:*:*:*:*:*:*:* Versions 1.4.6 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.4.7:*:*:*:*:*:*:* Versions 1.4.7 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.4.8:*:*:*:*:*:*:* Versions 1.4.8 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.4.9:*:*:*:*:*:*:* Versions 1.4.9 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.7:alpha1:*:*:*:*:*:* Versions 1.7 alpha1 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.7:alpha2:*:*:*:*:*:* Versions 1.7 alpha2 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.7:beta1:*:*:*:*:*:* Versions 1.7 beta1 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.5:*:*:*:*:*:*:* Versions 1.5 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.5.1:*:*:*:*:*:*:* Versions 1.5.1 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.5.2:*:*:*:*:*:*:* Versions 1.5.2 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.5.3:*:*:*:*:*:*:* Versions 1.5.3 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.5.4:*:*:*:*:*:*:* Versions 1.5.4 Vulnerable ·djangoproject
- cpe:2.3:a:djangoproject:django:1.5.5:*:*:*:*:*:*:* Versions 1.5.5 Vulnerable ·djangoproject
Remediation
- Fix · GHSA-wqjj-hx84-v449 Django (PyPI) Fixed in 1.4.11 Advisory →
- Fix · GHSA-wqjj-hx84-v449 Django (PyPI) Fixed in 1.5.6 Advisory →
- Fix · GHSA-wqjj-hx84-v449 Django (PyPI) Fixed in 1.6.3 Advisory →
Red Hat 2 advisories
- RHSA-2014:0456 Released 2014-04-30 · Red Hat rating ModerateDjango security update
- Red Hat Enterprise Linux OpenStack Platform 4.0 Django14-1.4.11-1.el6ost, Django14-doc-1.4.11-1.el6ost
- RHSA-2014:0457 Released 2014-04-30 · Red Hat rating ModerateDjango security update
- Red Hat Enterprise Linux OpenStack Platform 3.0 Django14-1.4.11-1.el6ost, Django14-doc-1.4.11-1.el6ost
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Subscription Asset Manager | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux OpenStack Platform 3.0 | Fixed | RHSA-2014:0457 |
| Red Hat Enterprise Linux OpenStack Platform 4.0 | Fixed | RHSA-2014:0456 |
Timeline
- 2026-10-02 Threatist record created from CVE-2014-0474
- 2026-10-03 Alias added: GHSA-wqjj-hx84-v449
References
Advisory 7
Other 6
- https://github.com/django/django/commit/5f0829a27e85d89ad8c433f5c6a7a7d17c9e9292
- https://github.com/django/django/commit/985434fb1d6bf2335bf96c6ebf91c3674f1f399f
- https://github.com/django/django/commit/aa80f498de6d687e613860933ac58433ab71ea4b
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2014-3.yaml
- https://www.djangoproject.com/weblog/2014/apr/21/security
Sources
- CVE-2014-0474 · CVE Program
- CVE-2014-0474 · NVD
- FIRST EPSS
- GHSA-wqjj-hx84-v449 · GitHub Advisory Database · CC BY 4.0
- CVE-2014-0474 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences