HighGHSA-6g95-x6cj-mg4vCVE-2015-0222PYSEC-2015-7
Django database denial-of-service with ModelMultipleChoiceField
Published 17 May 2022 · Updated 18 Sept 2024
Is your project on an affected django?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
djangoPyPI
- Affected
- >=1.6 <1.6.10
- Fixed in
- 1.6.10
Update to the fixed version for your release line, for example:
pip install 'django>=1.6.10'djangoPyPI
- Affected
- >=1.7 <1.7.3
- Fixed in
- 1.7.3
Update to the fixed version for your release line, for example:
pip install 'django>=1.7.3'Details
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.
Is GHSA-6g95-x6cj-mg4v in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected django, and gives you the command that fixes it.
More advisories for django
- HighCVE-2026-15307Django GeoDjango spatial lookups allow file writes and outbound requests through GDAL raster parsing · 4 Aug 2026
- MediumCVE-2026-15830Django GeoDjango vulnerable to denial of service through deeply nested geometry collections · 4 Aug 2026
- MediumCVE-2026-53878Django: DomainNameValidator permits newline characters that may enable HTTP header injection · 7 Jul 2026
- MediumCVE-2026-53877 Django: GDALRaster may over-read heap memory when constructed from bytes · 7 Jul 2026
- LowCVE-2026-48588Django: cache middleware may expose private responses when unrelated request cookies are present · 7 Jul 2026
- LowCVE-2026-8404Django: UpdateCacheMiddleware may disclose cached responses due to case-sensitive Cache-Control handling · 3 Jun 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2015-0222
- Linkgithub.com/django/django/commit/bcfb47780ce7caecb409a9e9c1c314266e41d392
- Linkgithub.com/django/django/commit/d7a06ee7e571b6dad07c0f5b519b1db02e2a476c
- Packagegithub.com/django/django
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-7.yaml
- Linkweb.archive.org/web/20161201073154/http://secunia.com/advisories/62285
- Linkweb.archive.org/web/20161201073337/http://secunia.com/advisories/62309
- Linkwww.djangoproject.com/weblog/2015/jan/13/security
- Linkadvisories.mageia.org/MGASA-2015-0026.html
- Linklists.fedoraproject.org/pipermail/package-announce/2015-January/148485.html
- Linklists.fedoraproject.org/pipermail/package-announce/2015-January/148608.html
- Linklists.fedoraproject.org/pipermail/package-announce/2015-January/148696.html
- Linklists.opensuse.org/opensuse-updates/2015-04/msg00001.html
- Linklists.opensuse.org/opensuse-updates/2015-09/msg00035.html
- Linkubuntu.com/usn/usn-2469-1
- Linkwww.mandriva.com/security/advisories?name=MDVSA-2015:109
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.