VDB
Sign up
MEDIUM5.9

PYSEC-2020-31

Quick fix

PYSEC-2020-31 — django: upgrade to the fixed version with the command below.

pip install --upgrade 'django>=2.2.13'

Details

An issue was discovered in Django 2.2 before 2.2.13 and 3.0 before 3.0.7. In cases where a memcached backend does not perform key validation, passing malformed cache keys could result in a key collision, and potential data leakage.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/django
Introduced in: 2.2Fixed in: 2.2.13
Fixpip install --upgrade 'django>=2.2.13'

References