CVE-2014-0474Canonical Ubuntu Linux
Critical 10.0 No auth needed
Follow: this CVE · Canonical · Canonical Ubuntu Linux We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 2.0
- 10.0
- EPSS
- 4.8% probability of exploitation in 30 days · percentile 93
- Auth required
- No
- Published
- Apr 23, 2014
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-399
- Vector
AV:N/AC:L/Au:N/C:C/I:C/A:C
What happens
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."
What to do
- Apply the vendor's security update for Ubuntu Linux.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | django |
< 1.4.11 |
1.4.11 |
pip install "django>=1.4.11" |
| PyPI | django |
≥ 1.5 < 1.5.6 |
1.5.6 |
pip install "django>=1.5.6" |
| PyPI | django |
≥ 1.6 < 1.6.3 |
1.6.3 |
pip install "django>=1.6.3" |
| PyPI | django |
< 1.4.11 |
1.4.11 |
pip install "django>=1.4.11" |
| PyPI | django |
≥ 1.5 < 1.5.6 |
1.5.6 |
pip install "django>=1.5.6" |
| PyPI | django |
≥ 1.6 < 1.6.3 |
1.6.3 |
pip install "django>=1.6.3" |
Per OSV / GitHub Advisories (GHSA-wqjj-hx84-v449, PYSEC-2014-3). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| canonical | ubuntu_linux | 10.04 |
| canonical | ubuntu_linux | 12.04 |
| canonical | ubuntu_linux | 12.10 |
| canonical | ubuntu_linux | 13.10 |
| canonical | ubuntu_linux | 14.04 |
| djangoproject | django | 1.6 |
| djangoproject | django | 1.6.1 |
| djangoproject | django | 1.6.2 |
| djangoproject | django | ≤ 1.4.10 |
| djangoproject | django | 1.4 |
| djangoproject | django | 1.4.1 |
| djangoproject | django | 1.4.2 |
| djangoproject | django | 1.4.3 |
| djangoproject | django | 1.4.4 |
| djangoproject | django | 1.4.5 |
| djangoproject | django | 1.4.6 |
| djangoproject | django | 1.4.7 |
| djangoproject | django | 1.4.8 |
| djangoproject | django | 1.4.9 |
| djangoproject | django | 1.7 |
| djangoproject | django | 1.7 |
| djangoproject | django | 1.7 |
| djangoproject | django | 1.5 |
| djangoproject | django | 1.5.1 |
| djangoproject | django | 1.5.2 |
| djangoproject | django | 1.5.3 |
| djangoproject | django | 1.5.4 |
| djangoproject | django | 1.5.5 |
Official sources
References
Links published by the sources. Open them with care.