Skip to content
OpenAdvisories
High · 7.5 CVE-2015-0222 EUVD-2015-0016GHSA-6g95-x6cj-mg4vPYSEC-2015-7

Django database denial-of-service with ModelMultipleChoiceField

Published Jan 16, 2015 · Updated Aug 6, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 python-django 1.7.1-1.1 —
Debian 13 python-django 1.7.1-1.1 —
Debian 12 python-django 1.7.1-1.1 —
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS python-django 1.6.1-2ubuntu0.6 USN-2469-1
ReleasePackageFixed inAdvisory
SUSE Enterprise Storage 1.0 python-Django 1.6.11-4.1 SUSE-SU-2015:1112-1, SUSE-SU-2015:1109-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 1.6, < 1.6.10 1.6.10 GHSA-6g95-x6cj-mg4v
PyPI django >= 1.7, < 1.7.3 1.7.3 GHSA-6g95-x6cj-mg4v
PyPI django < 1.4.18 · >= 1.5, < 1.6.10 · >= 1.7, < 1.7.3 1.4.18, 1.6.10, 1.7.3 PYSEC-2015-7

Advisories 3

References