CVE-2015-0222Canonical Ubuntu Linux
Medium 5.0 No auth needed
Follow: this CVE · Canonical · Canonical Ubuntu Linux We alert you by email or Slack (account required).
- Priority
- 45
- CVSS 2.0
- 5.0
- EPSS
- 2.7% probability of exploitation in 30 days · percentile 87
- Auth required
- No
- Published
- Jan 16, 2015
- Updated
- Jun 17, 2026
- Category
- Operating system · Linux
- Weakness (CWE)
- CWE-17
- Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
What happens
ModelMultipleChoiceField in Django 1.6.x before 1.6.10 and 1.7.x before 1.7.3, when show_hidden_initial is set to True, allows remote attackers to cause a denial of service by submitting duplicate values, which triggers a large number of SQL queries.
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.6 < 1.6.10 |
1.6.10 |
pip install "django>=1.6.10" |
| PyPI | django |
≥ 1.7 < 1.7.3 |
1.7.3 |
pip install "django>=1.7.3" |
| PyPI | django |
< 1.4.18 |
1.4.18 |
pip install "django>=1.4.18" |
| PyPI | django |
≥ 1.5 < 1.6.10 |
1.6.10 |
pip install "django>=1.6.10" |
| PyPI | django |
≥ 1.7 < 1.7.3 |
1.7.3 |
pip install "django>=1.7.3" |
Per OSV / GitHub Advisories (GHSA-6g95-x6cj-mg4v, PYSEC-2015-7). 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 | 14.04 |
| canonical | ubuntu_linux | 14.10 |
| djangoproject | django | ≤ 1.4.17 |
| djangoproject | django | 1.6 |
| djangoproject | django | 1.6.1 |
| djangoproject | django | 1.6.2 |
| djangoproject | django | 1.6.3 |
| djangoproject | django | 1.6.4 |
| djangoproject | django | 1.6.5 |
| djangoproject | django | 1.6.6 |
| djangoproject | django | 1.6.7 |
| djangoproject | django | 1.6.8 |
| djangoproject | django | 1.6.9 |
| djangoproject | django | 1.7 |
| djangoproject | django | 1.7.1 |
| djangoproject | django | 1.7.2 |
Official sources
References
Links published by the sources. Open them with care.
- advisories.mageia.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.opensuse.org
- lists.opensuse.org
- secunia.com
- secunia.com
- ubuntu.com Patch Vendor Advisory
- www.mandriva.com
- www.djangoproject.com Patch Vendor Advisory