CVE-2015-5964
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.
What to do
Fixed builds are available from Debian, PyPI, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 14.04 | python-django | Fixed | 1.6.1-2ubuntu0.10 | UBUNTU-CVE-2015-5964 |
| Debian 14 | python-django | Fixed | 1.7.10-1 | DEBIAN-CVE-2015-5964 |
| Debian 13 | python-django | Fixed | 1.7.10-1 | DEBIAN-CVE-2015-5964 |
| Debian 12 | python-django | Fixed | 1.7.10-1 | DEBIAN-CVE-2015-5964 |
| PyPI library | django | Fixed | 1.4.22 | PYSEC-2015-23 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://lists.fedoraproject.org/pipermail/package-announce/2015-November/172084.html (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2015-1894.html (vendor-advisory)
- http://www.debian.org/security/2015/dsa-3338 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2015-1767.html (vendor-advisory)
- http://www.ubuntu.com/usn/USN-2720-1 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2015-1766.html (vendor-advisory)
References
- http://lists.fedoraproject.org/pipermail/package-announce/2015-November/172084.html
- http://rhn.redhat.com/errata/RHSA-2015-1894.html
- http://www.debian.org/security/2015/dsa-3338
- http://www.securitytracker.com/id/1033318
- http://rhn.redhat.com/errata/RHSA-2015-1767.html
- http://www.ubuntu.com/usn/USN-2720-1
- http://rhn.redhat.com/errata/RHSA-2015-1766.html
- http://www.securityfocus.com/bid/76440
- https://www.djangoproject.com/weblog/2015/aug/18/security-releases/
- http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.