CVE-2015-5964
Denial-of-service possibility in logout() view by filling session store
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.
Exploit likelihood
What each source reports
NVD Score used
5.0
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.
- Record
CVE-2015-5964- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-399
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2015-5964- Updated
- 2026-11-02
EUVDEUVD-2015-0012 No score
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.
- Record
EUVD-2015-0012- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-x38m-486c-2wr9
6.6
Denial-of-service possibility in logout() view by filling session store
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.
- Record
GHSA-x38m-486c-2wr9- CVSS 4.0
- 6.6 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVGHSA-x38m-486c-2wr9
6.6
Denial-of-service possibility in logout() view by filling session store
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.
- Record
GHSA-x38m-486c-2wr9- CVSS 4.0
- 6.6 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2015-5964- Updated
- 2026-11-02
Show 5 moreShow less
OSVDEBIAN-CVE-2015-5964 No score
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.
- Record
DEBIAN-CVE-2015-5964- Updated
- 2026-11-02
OSVMGASA-2015-0327 No score
Updated python-django and python-django14 packages fix security vulnerabilities
Lin Hua Cheng discovered that Django incorrectly handled the session store. A remote attacker could use this issue to cause the session store to fill up, resulting in a denial of service.
- Record
MGASA-2015-0327- Updated
- 2026-11-02
OSVPYSEC-2015-23 No score
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.
- Record
PYSEC-2015-23- Updated
- 2026-11-02
OSVUBUNTU-CVE-2015-5964 No score
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.
- Record
UBUNTU-CVE-2015-5964- Updated
- 2026-11-02
OSVUSN-2720-1 No score
python-django vulnerability
Lin Hua Cheng discovered that Django incorrectly handled the session store. A remote attacker could use this issue to cause the session store to fill up, resulting in a denial of service.
- Record
USN-2720-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
djangoPyPI |
1.7 up to 1.7.10 | 1.7.10 |
djangoPyPI |
1.4 up to 1.4.22 | 1.4.22 |
python-djangoDebian:12 |
before 1.7.10-1 | 1.7.10-1 |
python-djangoDebian:13 |
before 1.7.10-1 | 1.7.10-1 |
python-djangoDebian:14 |
before 1.7.10-1 | 1.7.10-1 |
python-djangoDebian:6.0 From an advisory covering 2 CVEs |
before 1.2.3-3+squeeze14, plus listed versions 1.2.3-31.2.3-3+squeeze11.2.3-3+squeeze101.2.3-3+squeeze111.2.3-3+squeeze12 Show 8 moreShow less1.2.3-3+squeeze131.2.3-3+squeeze21.2.3-3+squeeze31.2.3-3+squeeze51.2.3-3+squeeze61.2.3-3+squeeze71.2.3-3+squeeze81.2.3-3+squeeze9 |
1.2.3-3+squeeze14 |
python-djangoDebian:7 From an advisory covering 2 CVEs |
before 1.4.5-1+deb7u13, plus listed versions 1.4.5-11.4.5-1+deb7u11.4.5-1+deb7u101.4.5-1+deb7u111.4.5-1+deb7u11~bpo60+1 Show 13 moreShow less1.4.5-1+deb7u121.4.5-1+deb7u13~bpo60+11.4.5-1+deb7u21.4.5-1+deb7u31.4.5-1+deb7u41.4.5-1+deb7u4~bpo60+11.4.5-1+deb7u51.4.5-1+deb7u61.4.5-1+deb7u71.4.5-1+deb7u7~bpo60+11.4.5-1+deb7u81.4.5-1+deb7u8~bpo60+11.4.5-1+deb7u9 |
1.4.5-1+deb7u13 |
python-djangoDebian:8 From an advisory covering 2 CVEs |
before 1.7.7-1+deb8u2, plus listed versions 1.7.7-11.7.7-1+deb8u1 |
1.7.7-1+deb8u2 |
djangoPyPI |
1.7 up to 1.7.10, plus listed versions 1.7.11.7.21.7.31.7.41.7.5 Show 4 moreShow less1.7.61.7.71.7.81.7.9 |
1.7.10 |
djangoPyPI |
1.4 up to 1.4.22, plus listed versions 1.4.11.4.101.4.111.4.121.4.13 Show 16 moreShow less1.4.141.4.151.4.161.4.171.4.181.4.191.4.21.4.201.4.211.4.31.4.41.4.51.4.61.4.71.4.81.4.9 |
1.4.22 |
Show 14 moreShow less
| Package | Affected | Fixed |
|---|---|---|
python-django14Mageia:4 From an advisory covering 2 CVEs |
before 1.4.22-1.mga4 | 1.4.22-1.mga4 |
python-djangoMageia:5 From an advisory covering 2 CVEs |
before 1.8.4-1.mga5 | 1.8.4-1.mga5 |
djangoPyPI |
1.7 up to 1.7.10, 1.4 up to 1.4.22, plus listed versions 1.4.11.4.101.4.111.4.121.4.13 Show 25 moreShow less1.4.141.4.151.4.161.4.171.4.181.4.191.4.21.4.201.4.211.4.31.4.41.4.51.4.61.4.71.4.81.4.91.7.11.7.21.7.31.7.41.7.51.7.61.7.71.7.81.7.9 |
1.7.101.4.22 |
python-djangoRed Hat:openstack:5::el6 From an advisory covering 2 CVEs |
before 0:1.6.11-3.el6ost | 0:1.6.11-3.el6ost |
python-django-bash-completionRed Hat:openstack:5::el6 From an advisory covering 2 CVEs |
before 0:1.6.11-3.el6ost | 0:1.6.11-3.el6ost |
python-django-docRed Hat:openstack:5::el6 From an advisory covering 2 CVEs |
before 0:1.6.11-3.el6ost | 0:1.6.11-3.el6ost |
python-djangoRed Hat:openstack:5::el7 From an advisory covering 2 CVEs |
before 0:1.6.11-3.el7ost | 0:1.6.11-3.el7ost |
python-django-bash-completionRed Hat:openstack:5::el7 From an advisory covering 2 CVEs |
before 0:1.6.11-3.el7ost | 0:1.6.11-3.el7ost |
python-django-docRed Hat:openstack:5::el7 From an advisory covering 2 CVEs |
before 0:1.6.11-3.el7ost | 0:1.6.11-3.el7ost |
python-djangoRed Hat:openstack:6::el7 From an advisory covering 2 CVEs |
before 0:1.6.11-3.el7ost | 0:1.6.11-3.el7ost |
python-django-bash-completionRed Hat:openstack:6::el7 From an advisory covering 2 CVEs |
before 0:1.6.11-3.el7ost | 0:1.6.11-3.el7ost |
python-django-docRed Hat:openstack:6::el7 From an advisory covering 2 CVEs |
before 0:1.6.11-3.el7ost | 0:1.6.11-3.el7ost |
python-djangoUbuntu:14.04:LTS |
before 1.6.1-2ubuntu0.10, plus listed versions 1.5.4-1ubuntu11.6-11.6.1-11.6.1-21.6.1-2ubuntu0.1 Show 7 moreShow less1.6.1-2ubuntu0.21.6.1-2ubuntu0.31.6.1-2ubuntu0.41.6.1-2ubuntu0.51.6.1-2ubuntu0.61.6.1-2ubuntu0.81.6.1-2ubuntu0.9 |
1.6.1-2ubuntu0.10 |
python-djangoUbuntu:14.04:LTS From an advisory covering 2 CVEs |
before 1.6.1-2ubuntu0.10, plus listed versions 1.5.4-1ubuntu11.6-11.6.1-11.6.1-21.6.1-2ubuntu0.1 Show 7 moreShow less1.6.1-2ubuntu0.21.6.1-2ubuntu0.31.6.1-2ubuntu0.41.6.1-2ubuntu0.51.6.1-2ubuntu0.61.6.1-2ubuntu0.81.6.1-2ubuntu0.9 |
1.6.1-2ubuntu0.10 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2015-5964 is a medium vulnerability (CVSS 5.0) in Djangoproject Django, published August 18, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.06%, the 92nd percentile. Fixed in django 1.7.10.
References
lists.fedoraproject.org/pipermail/package-announce/2015-November/172084.html
rhn.redhat.com/errata/RHSA-2015-1894.html
debian.org/security/2015/dsa-3338
securitytracker.com/id/1033318
rhn.redhat.com/errata/RHSA-2015-1767.html
ubuntu.com/usn/USN-2720-1
Show 35 moreShow less
rhn.redhat.com/errata/RHSA-2015-1766.html
securityfocus.com/bid/76440
djangoproject.com/weblog/2015/aug/18/security-releases
oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html
nvd.nist.gov/vuln/detail/CVE-2015-5964
web.archive.org/web/20200228051814/http://www.securityfocus.com/bid/76440
github.com/django/django/commit/2f5485346ee6f84b4e52068c04e043092daf55f7
github.com/django/django/commit/575f59f9bc7c59a5e41a081d1f5f55fc859c5012
github.com/django/django/commit/8cc41ce7a7a8f6bebfdd89d5ab276cd0109f4fc5
github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-23.yaml
web.archive.org/web/20150906124157/http://www.securityfocus.com/bid/76440
web.archive.org/web/20150923161048/http://www.securitytracker.com/id/1033318
github.com/advisories/GHSA-x38m-486c-2wr9
security-tracker.debian.org/tracker/CVE-2015-5964
github.com/django/django
advisories.mageia.org/MGASA-2015-0327.html
bugs.mageia.org/show_bug.cgi?id=16607
ubuntu.com/usn/usn-2720-1
access.redhat.com/errata/RHSA-2015:1766
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1252890
bugzilla.redhat.com/show_bug.cgi?id=1252891
security.access.redhat.com/data/csaf/v2/advisories/2015/rhsa-2015_1766.json
access.redhat.com/security/cve/CVE-2015-5963
cve.org/CVERecord?id=CVE-2015-5963
nvd.nist.gov/vuln/detail/CVE-2015-5963
access.redhat.com/security/cve/CVE-2015-5964
cve.org/CVERecord?id=CVE-2015-5964
access.redhat.com/errata/RHSA-2015:1767
security.access.redhat.com/data/csaf/v2/advisories/2015/rhsa-2015_1767.json
access.redhat.com/errata/RHSA-2015:1894
security.access.redhat.com/data/csaf/v2/advisories/2015/rhsa-2015_1894.json
ubuntu.com/security/CVE-2015-5964
ubuntu.com/security/notices/USN-2720-1
ubuntu.com/security/CVE-2015-5963