CVE-2020-13254

NameCVE-2020-13254
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2233-1, DSA-4705-1
Debian Bugs962323

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-django (PTS)jessie, jessie (lts)1.7.11-1+deb8u17fixed
stretch (security)1:1.10.7-2+deb9u17fixed
stretch (lts), stretch1:1.10.7-2+deb9u23fixed
buster, buster (lts)1:1.11.29-1+deb10u12fixed
buster (security)1:1.11.29-1+deb10u11fixed
bullseye (security), bullseye2:2.2.28-1~deb11u2fixed
bookworm (security), bookworm3:3.2.19-1+deb12u1fixed
sid, trixie3:4.2.16-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-djangosourcewheezy(unfixed)end-of-life
python-djangosourcejessie1.7.11-1+deb8u9DLA-2233-1
python-djangosourcestretch1:1.10.7-2+deb9u9DSA-4705-1
python-djangosourcebuster1:1.11.29-1~deb10u1DSA-4705-1
python-djangosource(unstable)2:2.2.13-1962323

Notes

https://www.openwall.com/lists/oss-security/2020/06/03/1
https://github.com/django/django/commit/2c82414914ae6476be5a166be9ff49c24d0d9069 (master)
https://github.com/django/django/commit/580bd64c0482ae9b7c05715390e25f4405a12719 (3.1 branch)
https://github.com/django/django/commit/84b2da5552e100ae3294f564f6c862fef8d0e693 (3.0 branch)
https://github.com/django/django/commit/07e59caa02831c4569bbebb9eb773bdd9cb4b206 (2.2 branch)
Regression https://code.djangoproject.com/ticket/31654

Search for package or bug name: Reporting problems