VDB
Sign up
MEDIUM5.0

PYSEC-2015-22

Quick fix

PYSEC-2015-22 — django: upgrade to the fixed version with the command below.

pip install --upgrade 'django>=1.4.22'

Details

contrib.sessions.middleware.SessionMiddleware in Django 1.8.x before 1.8.4, 1.7.x before 1.7.10, 1.4.x before 1.4.22, and possibly other versions allows remote attackers to cause a denial of service (session store consumption or session record removal) via a large number of requests to contrib.auth.views.logout, which triggers the creation of an empty session record.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 1.8Fixed in: 1.8.4
Fixpip install --upgrade 'django>=1.4.22'

References