Description
An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16.
UpdateCacheMiddleware and the cache_page() decorator cache responses that vary on cookies when the incoming request carries unrelated cookies, which allows remote attackers to read private data from the shared cache.
Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.
Django would like to thank Chris Whyland for reporting this issue.
Mitigation
Minimal update. May introduce new vulnerabilities or breaking changes.
|
 debian 13 | | =3:4.2.23-1 || =3:4.2.24-1 || =3:4.2.25-1 || =3:4.2.25-2 || =3:4.2.26-1 || =3:4.2.27-0+deb13u1 || =3:4.2.27-1 || =3:4.2.27-2 || =3:4.2.28-0+deb13u1 || =3:4.2.28-0+deb13u2 || =3:4.2.28-1 || =3:4.2.29-1 || =3:4.2.30-1 || =3:5.0-1 || =3:5.0.1-1 || =3:5.0.2-1 || =3:5.0.3-1 || =3:5.0.4-1 || =3:5.0.6-1 || =3:5.0~alpha1-1 || =3:5.0~rc1-1 || =3:5.1-1 || =3:5.1.1-1 || =3:5.1.2-1 || =3:5.1.3-1 || =3:5.1.4-1 || =3:5.1.5-1 || =3:5.1~alpha1-1 || =3:5.1~beta1-1 || =3:5.1~rc1-1 || =3:5.2-1 || =3:5.2.1-1 || =3:5.2.13-1 || =3:5.2.14-1 || =3:5.2.14-2 || =3:5.2.15-1 || =3:5.2.15-2 || =3:5.2.15-2~bpo13+1 || =3:5.2.16-1 || =3:5.2.16-1~bpo13+1 || =3:5.2.17-1 || =3:5.2.17-2 || =3:5.2.17-2~bpo13+1 || =3:5.2.18-1 || =3:5.2.2-1 || =3:5.2.3-1 || =3:5.2.4-1 || =3:5.2.5-1 || =3:5.2.6-1 || =3:5.2~alpha1-1 || =3:5.2~beta1-1 || =3:5.2~rc1-1 || =3:6.0-1 || =3:6.0.1-1 || =3:6.0.2-1 || =3:6.0.3-1 || =3:6.0.4-1 || =3:6.0.5-1 || =3:6.0.6-1 || =3:6.0~alpha1-1 || =3:6.0~beta1-1 || =3:6.0~rc1-1 || =3:6.1-1 || =3:6.1.1-1 || =3:6.1.2-1 || =3:6.1~beta1-1 || =3:6.1~rc1-1 | - |
 debian 12 | | =3:3.2.19-1 || =3:3.2.19-1+deb12u1 || =3:3.2.19-1+deb12u1~bpo11+1 || =3:3.2.19-1+deb12u2 || =3:3.2.20-1 || =3:3.2.20-1.1 || =3:3.2.21-1 || =3:3.2.25-0+deb12u1 || =3:3.2.25-0+deb12u2 || =3:3.2.25-0+deb12u3 || =3:3.2.25-0+deb12u4 || >=0 <3:3.2.25-0+deb12u5 | 3:3.2.25-0+deb12u5 |
 debian 14 | | =3:4.2.23-1 || =3:4.2.24-1 || =3:4.2.25-1 || =3:4.2.25-2 || =3:4.2.26-1 || =3:4.2.27-1 || =3:4.2.27-2 || =3:4.2.28-1 || =3:4.2.29-1 || =3:4.2.30-1 || =3:5.0-1 || =3:5.0.1-1 || =3:5.0.2-1 || =3:5.0.3-1 || =3:5.0.4-1 || =3:5.0.6-1 || =3:5.0~alpha1-1 || =3:5.0~rc1-1 || =3:5.1-1 || =3:5.1.1-1 || =3:5.1.2-1 || =3:5.1.3-1 || =3:5.1.4-1 || =3:5.1.5-1 || =3:5.1~alpha1-1 || =3:5.1~beta1-1 || =3:5.1~rc1-1 || =3:5.2-1 || =3:5.2.1-1 || =3:5.2.13-1 || =3:5.2.14-1 || =3:5.2.14-2 || =3:5.2.15-1 || =3:5.2.15-2 || =3:5.2.15-2~bpo13+1 || =3:5.2.16-1~bpo13+1 || =3:5.2.2-1 || =3:5.2.3-1 || =3:5.2.4-1 || =3:5.2.5-1 || =3:5.2.6-1 || =3:5.2~alpha1-1 || =3:5.2~beta1-1 || =3:5.2~rc1-1 || >=0 <3:5.2.16-1 | 3:5.2.16-1 |
 pypi | | >=0 <5.2.16 || >=6.0.0 <6.0.7 | 5.2.16, 6.0.7 |
 alpine v3.24 | | | 5.2.16-r0 |