Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1179685 - (CVE-2015-0222) CVE-2015-0222 Django: database denial of service with ModelMultipleChoiceField
CVE-2015-0222 Django: database denial of service with ModelMultipleChoiceField
Status: CLOSED CURRENTRELEASE
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20150113,repor...
: Security
Depends On: 1181951 1181952
Blocks: 1179508
  Show dependency treegraph
 
Reported: 2015-01-07 05:35 EST by Martin Prpič
Modified: 2016-06-14 06:39 EDT (History)
16 users (show)

See Also:
Fixed In Version: Django 1.7.3, Django 1.6.10
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-14 06:39:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
mmc-dos-1.6.x.patch (4.80 KB, text/plain)
2015-01-07 05:36 EST, Martin Prpič
no flags Details
mmc-dos-1.7.x.patch (5.83 KB, text/plain)
2015-01-07 05:36 EST, Martin Prpič
no flags Details
mmc-dos-master.patch (5.83 KB, text/plain)
2015-01-07 05:36 EST, Martin Prpič
no flags Details

  None (edit)
Description Martin Prpič 2015-01-07 05:35:36 EST
The Django project reports the following issue:

"""
Given a form that uses ``ModelMultipleChoiceField`` and ``show_hidden_initial=True`` (not a documented API), it was possible for a user to cause an unreasonable number of SQL queries by submitting duplicate values for the field's data. The validation logic in ``ModelMultipleChoiceField`` now deduplicates submitted values to address this issue.
"""

This issue is resolved in the upstream versions 1.7.3 and 1.6.10.

Acknowledgements:

Red Hat would like to thank the upstream Django project for reporting this issue.
Comment 1 Martin Prpič 2015-01-07 05:36:07 EST
Created attachment 977200 [details]
mmc-dos-1.6.x.patch
Comment 2 Martin Prpič 2015-01-07 05:36:09 EST
Created attachment 977201 [details]
mmc-dos-1.7.x.patch
Comment 3 Martin Prpič 2015-01-07 05:36:12 EST
Created attachment 977202 [details]
mmc-dos-master.patch
Comment 4 Martin Prpič 2015-01-14 02:28:28 EST
Created python-django tracking bugs for this issue:

Affects: fedora-all [bug 1181951]
Affects: epel-7 [bug 1181952]
Comment 5 Martin Prpič 2015-01-14 02:30:00 EST
External References:

https://www.djangoproject.com/weblog/2015/jan/13/security/
Comment 6 Fedora Update System 2015-01-25 21:32:37 EST
python-django-1.6.10-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 7 Fedora Update System 2015-01-26 22:00:25 EST
python-django14-1.4.18-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 8 Fedora Update System 2015-01-26 22:06:01 EST
python-django-1.6.10-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 9 Fedora Update System 2015-02-05 14:01:51 EST
python-django-1.6.10-1.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 10 Matthias Runge 2016-06-14 06:39:14 EDT
all related bzs have been closed already.

Note You need to log in before you can comment on or make changes to this bug.