Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Generic)  >   Django Vendors:
(Red Hat Issues Fix) Django logout() Function Session Management Flaw Lets Remote Users Consume Excessive Session Resources and Deny Service
SecurityTracker Alert ID:  1033770
SecurityTracker URL:
CVE Reference:   CVE-2015-5963   (Links to External Site)
Date:  Oct 8 2015
Impact:   Denial of service via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 1.4, 1.7, 1.8
Description:   Two vulnerabilities were reported in Django. A remote user can consume excessive sessions on the target system.

A remote user can access the 'django.contrib.auth.views.logout' view to create an excessive number of new session records, potentially filling up the session store or causing existing session records to be evicted.

The 'django.contrib.sessions.middleware.SessionMiddleware' component is affected [CVE-2015-5963].

On 1.4.x and 1.7.x based systems, the 'contrib.sessions.backends.base.SessionBase.flush()' and 'cache_db.SessionStore.flush()' methods are affected [CVE-2015-5964].

Lin Hua Cheng reported these vulnerabilities.

Impact:   A remote user can consume excessive session resources on the target system, preventing new sessions or denying service to existing sessions.
Solution:   Red Hat has issued a fix for CVE-2015-5963.

The Red Hat advisory is available at:

Vendor URL: (Links to External Site)
Cause:   Resource error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  7

Message History:   This archive entry is a follow-up to the message listed below.
Aug 19 2015 Django logout() Function Session Management Flaw Lets Remote Users Consume Excessive Session Resources and Deny Service

 Source Message Contents

Subject:  [RHSA-2015:1876-01] Moderate: python-django security update

Hash: SHA1

                   Red Hat Security Advisory

Synopsis:          Moderate: python-django security update
Advisory ID:       RHSA-2015:1876-01
Product:           Red Hat Enterprise Linux OpenStack Platform
Advisory URL:
Issue date:        2015-10-08
CVE Names:         CVE-2015-5963 

1. Summary:

Updated python-django packages that fix one security issue are now
available for Red Hat Enterprise Linux OpenStack Platform 7.0.

Red Hat Product Security has rated this update as having Moderate security
impact. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available from the CVE link in the
References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux OpenStack Platform 7.0 for RHEL 7 - noarch

3. Description:

Django is a high-level Python Web framework that encourages rapid
development and a clean, pragmatic design. It focuses on automating as much
as possible and adhering to the DRY (Don't Repeat Yourself) principle.

It was found that Django incorrectly handled the session store. A session
could be created by anonymously accessing the
django.contrib.auth.views.logout view if it was not decorated correctly
with django.contrib.auth.decorators.login_required. A remote attacker could
use this flaw to fill up the session store or cause other users' session
records to be evicted by requesting a large number of new sessions.

Red Hat would like to thank the upstream Django project for reporting this

All python-django users are advised to upgrade to these updated packages,
which contain a backported patch to correct this issue.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

For details on how to apply this update, refer to:

5. Bugs fixed (

1252890 - CVE-2015-5963 python-django: Denial-of-service possibility in logout() view by filling session store

6. Package List:

Red Hat Enterprise Linux OpenStack Platform 7.0 for RHEL 7:



These packages are GPG signed by Red Hat for security.  Our key and
details on how to verify the signature are available from

7. References:

8. Contact:

The Red Hat security contact is <>. More contact
details at

Copyright 2015 Red Hat, Inc.
Version: GnuPG v1


Enterprise-watch-list mailing list

Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, LLC