MEDIUM5.0
PYSEC-2015-23
Quick fix
PYSEC-2015-23 — django: upgrade to the fixed version with the command below.
pip install --upgrade 'django>=1.4.22'Details
The (1) contrib.sessions.backends.base.SessionBase.flush and (2) cache_db.SessionStore.flush functions in Django 1.7.x before 1.7.10, 1.4.x before 1.4.22, and possibly other versions create empty sessions in certain circumstances, which allows remote attackers to cause a denial of service (session store consumption) via unspecified vectors.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://www.djangoproject.com/weblog/2015/aug/18/security-releases/[ARTICLE]
- http://www.ubuntu.com/usn/USN-2720-1[ADVISORY]
- http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html[WEB]
- http://www.securityfocus.com/bid/76440[WEB]
- http://lists.fedoraproject.org/pipermail/package-announce/2015-November/172084.html[WEB]
- http://rhn.redhat.com/errata/RHSA-2015-1894.html[ADVISORY]
- http://rhn.redhat.com/errata/RHSA-2015-1767.html[ADVISORY]
- http://rhn.redhat.com/errata/RHSA-2015-1766.html[ADVISORY]
- http://www.securitytracker.com/id/1033318[WEB]
- http://www.debian.org/security/2015/dsa-3338[ADVISORY]
- https://github.com/advisories/GHSA-x38m-486c-2wr9[ADVISORY]