VDB
Sign up
MEDIUM5.8

PYSEC-2011-1

Quick fix

PYSEC-2011-1 — django: upgrade to the fixed version with the command below.

pip install --upgrade 'django>=1.2.7'

Details

django.contrib.sessions in Django before 1.2.7 and 1.3.x before 1.3.1, when session data is stored in the cache, uses the root namespace for both session identifiers and application-data keys, which allows remote attackers to modify a session by triggering use of a key that is equal to that session's identifier.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 0Fixed in: 1.2.7
Fixpip install --upgrade 'django>=1.2.7'

References