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
References
- https://www.djangoproject.com/weblog/2020/jun/03/security-releases/[ARTICLE]
- https://docs.djangoproject.com/en/3.0/releases/security/[WEB]
- https://groups.google.com/d/msg/django-announce/pPEmb2ot4Fo/X-SMalYSBAAJ[WEB]
- https://usn.ubuntu.com/4381-1/[WEB]
- https://usn.ubuntu.com/4381-2/[WEB]
- https://security.netapp.com/advisory/ntap-20200611-0002/[ADVISORY]
- https://lists.debian.org/debian-lts-announce/2020/06/msg00016.html[WEB]
- https://www.debian.org/security/2020/dsa-4705[ADVISORY]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/[WEB]
- https://www.oracle.com/security-alerts/cpujan2021.html[WEB]
- https://github.com/advisories/GHSA-wpjr-j57x-wxfw[ADVISORY]