CVE-2020-13254
MEDIUM 5.9CVSS 3.1Data leakage via cache key collision in Django
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.
- Published
- 3 Jun 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-295
- Also known as
- BIT-django-2020-13254GHSA-wpjr-j57x-wxfwPYSEC-2020-31
- Sources
- NVDJSONOSV GHSA-wpjr-j57x-wxfwJSONOSV PYSEC-2020-31JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 2.2, < 2.2.13 | 2.2.13 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 3.0, < 3.0.7 | 3.0.7 |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* |
= 14.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
= 16.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* |
= 18.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:* |
= 19.10 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* |
= 20.04 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* |
= 32 | |
| NVD | netapp | sra_plugincpe:2.3:a:netapp:sra_plugin:-:*:*:*:*:linux:*:* |
(no version) | |
| NVD | netapp | steelstore_cloud_integrated_storagecpe:2.3:a:netapp:steelstore_cloud_integrated_storage:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | oracle | zfs_storage_appliance_kitcpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:* |
= 8.8 | |
| OSV | PyPI | django | >= 2.2, < 2.2.13 | 2.2.13 |
| OSV | PyPI | django | >= 3.0, < 3.0.7 | 3.0.7 |
| OSV | PyPI | django | >= 2.2, < 2.2.13; >= 3.0, < 3.0.7 | 2.2.13, 3.0.7 |
References
- https://docs.djangoproject.com/en/3.0/releases/security/ · Release Notes, Vendor Advisory, WEB
- https://groups.google.com/d/msg/django-announce/pPEmb2ot4Fo/X-SMalYSBAAJ · Mailing List, Release Notes, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2020/06/msg00016.html · Mailing List, Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/
- https://security.netapp.com/advisory/ntap-20200611-0002/ · Third Party Advisory, WEB, ADVISORY
- https://usn.ubuntu.com/4381-1/ · Third Party Advisory, WEB
- https://usn.ubuntu.com/4381-2/ · Third Party Advisory, WEB
- https://www.debian.org/security/2020/dsa-4705 · Third Party Advisory, WEB, ADVISORY
- https://www.djangoproject.com/weblog/2020/jun/03/security-releases/ · Release Notes, Vendor Advisory, WEB, ARTICLE
- https://www.oracle.com/security-alerts/cpujan2021.html · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-13254 · ADVISORY
- https://github.com/django/django/commit/07e59caa02831c4569bbebb9eb773bdd9cb4b206 · WEB
- https://github.com/django/django/commit/84b2da5552e100ae3294f564f6c862fef8d0e693 · WEB
- https://github.com/advisories/GHSA-wpjr-j57x-wxfw · ADVISORY
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2020-31.yaml · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 3 Jun 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Jun 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Jun 2020)