{"id":"CVE-2020-13254","aliases":["CVE-2020-13254","GHSA-wpjr-j57x-wxfw","BIT-DJANGO-2020-13254","PYSEC-2020-31"],"related":[],"kind":"vulnerability","state":"published","title":"Data leakage via cache key collision in Django","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"An issue was discovered in Django version 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se detectó un problema en Django versiones 2.2  anteriores a 2.2.13 y  versiones 3.0 anteriores a 3.0.7. En casos donde un backend memcached no lleva a cabo una comprobación de la clave, pasa claves de caché maliciosas que podría resultar en una colisión de claves y una potencial filtración de datos.","source":"nvd"}],"published":"2020-06-03T13:11:57.000Z","modified":"2026-09-08T08:46:09.298Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.2","status":"affected","fixed":"2.2.13"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.0","status":"affected","fixed":"3.0.7"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.2","fixed":"2.2.13"},{"status":"affected","introduced":"3.0","fixed":"3.0.7"}],"vendor":"djangoproject","product":"django","cpe":"cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"14.04"},{"status":"affected","version":"16.04"},{"status":"affected","version":"18.04"},{"status":"affected","version":"19.10"},{"status":"affected","version":"20.04"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"32"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"sra_plugin","cpe":"cpe:2.3:a:netapp:sra_plugin:-:*:*:*:*:linux:*:*","source":"nvd"},{"ranges":[],"vendor":"netapp","product":"steelstore_cloud_integrated_storage","cpe":"cpe:2.3:a:netapp:steelstore_cloud_integrated_storage:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"},{"status":"affected","version":"9.0"},{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.8"}],"vendor":"oracle","product":"zfs_storage_appliance_kit","cpe":"cpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"2.2","status":"affected","fixed":"2.2.13"},{"type":"ecosystem","introduced":"3.0","status":"affected","fixed":"3.0.7"}],"ecosystem":"PyPI","package":"django","purl":"pkg:pypi/django","source":"pysec"},{"ranges":[{"type":"semver","introduced":"2.2.0","status":"affected","fixed":"2.2.13"},{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.0.7"}],"ecosystem":"Bitnami","package":"django","purl":"pkg:bitnami/django","source":"bitnami"}],"references":[{"url":"https://usn.ubuntu.com/4381-1/","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-ubuntu","x-transferred"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://usn.ubuntu.com/4381-2/","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-ubuntu","x-transferred"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/06/msg00016.html","tags":["advisory","mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://www.debian.org/security/2020/dsa-4705","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-debian","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/","tags":["vendor-advisory","web","x-refsource-fedora","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://www.oracle.com/security-alerts/cpujan2021.html","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://docs.djangoproject.com/en/3.0/releases/security/","tags":["advisory","release-notes","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://groups.google.com/d/msg/django-announce/pPEmb2ot4Fo/X-SMalYSBAAJ","tags":["advisory","mailing-list","release-notes","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://www.djangoproject.com/weblog/2020/jun/03/security-releases/","tags":["advisory","article","release-notes","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20200611-0002/","tags":["advisory","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13254","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/django/django/commit/07e59caa02831c4569bbebb9eb773bdd9cb4b206","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/django/django/commit/84b2da5552e100ae3294f564f6c862fef8d0e693","tags":["web"],"sources":["ghsa"]},{"url":"https://docs.djangoproject.com/en/3.0/releases/security","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-wpjr-j57x-wxfw","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/django/django","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-31.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20200611-0002","tags":["web"],"sources":["ghsa"]},{"url":"https://usn.ubuntu.com/4381-1","tags":["web"],"sources":["ghsa"]},{"url":"https://usn.ubuntu.com/4381-2","tags":["web"],"sources":["ghsa"]},{"url":"https://www.djangoproject.com/weblog/2020/jun/03/security-releases","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/","tags":["web"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-13254","url":"https://www.cve.org/CVERecord?id=CVE-2020-13254","licence":"CVE Terms of Use","modified":"2024-08-04T12:11:19.484Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wpjr-j57x-wxfw","url":"https://github.com/advisories/GHSA-wpjr-j57x-wxfw","licence":"CC-BY-4.0","modified":"2024-11-19T05:38:34.283Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-13254","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13254","licence":"Public domain","modified":"2026-06-17T02:52:48.167Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2020-31","url":"https://osv.dev/vulnerability/PYSEC-2020-31","licence":"CC-BY-4.0","modified":"2023-12-06T01:00:04.827Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DJANGO-2020-13254","url":"https://osv.dev/vulnerability/BIT-DJANGO-2020-13254","licence":"Apache-2.0","modified":"2026-09-08T08:46:09.298Z"}],"updatedAt":"2026-11-25T22:57:52.657Z","epss":{"score":0.0609,"percentile":0.94203,"date":"2026-11-29T12:00:22.000Z"}}