Bug 937522 - (CVE-2015-5143) VUL-1: CVE-2015-5143: python-django: Denial-of-service possibility by filling session store
(CVE-2015-5143)
VUL-1: CVE-2015-5143: python-django: Denial-of-service possibility by filling...
Status: RESOLVED FIXED
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P4 - Low : Normal
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/118501/
CVSSv2:RedHat:CVE-2015-5143:5.0:(AV:N...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-09 11:42 UTC by Andreas Stieger
Modified: 2016-04-27 20:21 UTC (History)
4 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Stieger 2015-07-09 11:42:46 UTC
https://www.djangoproject.com/weblog/2015/jul/08/security-releases/

Denial-of-service possibility by filling session store

In previous versions of Django, the session backends created a new empty record in the session storage anytime request.session was accessed and there was a session key provided in the request cookies that didn't already have a session record. This could allow an attacker to easily create many new session records simply by sending repeated requests with unknown session keys, potentially filling up the session store or causing other users' session records to be evicted.

The built-in session backends now create a session record only if the session is actually modified; empty session records are not created. Thus this potential DoS is now only possible if the site chooses to expose a session-modifying view to anonymous users.

As each built-in session backend was fixed separately (rather than a fix in the core sessions framework), maintainers of third-party session backends should check whether the same vulnerability is present in their backend and correct it if so.

Thanks Eric Peterson and Lin Hua Cheng for reporting the issue.

This issue has been assigned the identifier CVE-2015-5143.

Fixed in 1.4.21, 1.7.9, and 1.8.3
https://github.com/django/django/commit/df049ed77a4db67e45db5679bfc76a85d2a26680

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1239010
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-5143
http://www.debian.org/security/2015/dsa-3305
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-5143
Comment 2 Swamp Workflow Management 2015-07-09 22:00:12 UTC
bugbot adjusting priority
Comment 5 Bernhard Wiedemann 2015-10-12 14:00:18 UTC
This is an autogenerated message for OBS integration:
This bug (937522) was mentioned in
https://build.opensuse.org/request/show/338144 13.2 / python-Django
Comment 6 Vincent Untz 2015-10-13 12:10:53 UTC
Was submitted in mr#73853/mr#73849.
Comment 7 Bernhard Wiedemann 2015-10-13 13:00:13 UTC
This is an autogenerated message for OBS integration:
This bug (937522) was mentioned in
https://build.opensuse.org/request/show/338439 13.1 / python-django
Comment 8 Swamp Workflow Management 2015-10-22 08:09:54 UTC
openSUSE-SU-2015:1802-1: An update that fixes two vulnerabilities is now available.

Category: security (moderate)
Bug References: 937522,937523
CVE References: CVE-2015-5143,CVE-2015-5144
Sources used:
openSUSE 13.1 (src):    python-django-1.5.12-0.2.14.1
Comment 9 Swamp Workflow Management 2015-10-23 09:09:48 UTC
SUSE-SU-2015:1810-1: An update that fixes three vulnerabilities is now available.

Category: security (moderate)
Bug References: 937522,937523,941587
CVE References: CVE-2015-5143,CVE-2015-5144,CVE-2015-5963
Sources used:
SUSE OpenStack Cloud 5 (src):    python-Django-1.6.11-10.2
Comment 10 Swamp Workflow Management 2015-10-23 15:10:04 UTC
openSUSE-SU-2015:1813-1: An update that fixes two vulnerabilities is now available.

Category: security (moderate)
Bug References: 937522,937523
CVE References: CVE-2015-5143,CVE-2015-5144
Sources used:
openSUSE 13.2 (src):    python-Django-1.6.11-3.10.1
Comment 11 Swamp Workflow Management 2015-10-23 16:09:58 UTC
SUSE-SU-2015:1815-1: An update that fixes three vulnerabilities is now available.

Category: security (moderate)
Bug References: 937522,937523,941587
CVE References: CVE-2015-5143,CVE-2015-5144,CVE-2015-5963
Sources used:
SUSE Enterprise Storage 1.0 (src):    python-Django-1.6.11-8.1
Comment 12 Andreas Stieger 2016-01-07 11:06:36 UTC
Releasing for SES 2 which is the last affected product. Closing.
Comment 13 Swamp Workflow Management 2016-01-07 14:12:04 UTC
SUSE-SU-2016:0044-1: An update that fixes four vulnerabilities is now available.

Category: security (moderate)
Bug References: 937522,937523,941587,955412
CVE References: CVE-2015-5143,CVE-2015-5144,CVE-2015-5963,CVE-2015-8213
Sources used:
SUSE Enterprise Storage 2 (src):    python-Django-1.6.11-3.1