VDB
Sign up
MEDIUM5.0

PYSEC-2015-23

Quick fix

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

pip install --upgrade 'django>=1.4.22'

Details

The (1) contrib.sessions.backends.base.SessionBase.flush and (2) cache_db.SessionStore.flush functions in Django 1.7.x before 1.7.10, 1.4.x before 1.4.22, and possibly other versions create empty sessions in certain circumstances, which allows remote attackers to cause a denial of service (session store consumption) via unspecified vectors.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 1.7Fixed in: 1.7.10
Fixpip install --upgrade 'django>=1.4.22'

References