{"id":"CVE-2015-5964","aliases":["DEBIAN-CVE-2015-5964","DLA-301-1","DSA-3338-1","EUVD-2015-0012","GHSA-x38m-486c-2wr9","MGASA-2015-0327","PYSEC-2015-23","RHSA-2015:1766","RHSA-2015:1767","RHSA-2015:1894","UBUNTU-CVE-2015-5964","USN-2720-1"],"status":"published","title":"Denial-of-service possibility in logout() view by filling session store","description":"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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.05064,"percentile":0.92368,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-399"],"published":"2015-08-18T00:00:00Z","modified":"2026-09-09T06:47:26Z","fixes":[{"ecosystem":"PyPI","package":"django","fixed_in":["1.7.10","1.4.22"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"python-django","fixed_in":["1.7.10-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"python-django","fixed_in":["1.7.10-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"python-django","fixed_in":["1.7.10-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"python-django","fixed_in":["1.6.1-2ubuntu0.10"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7"},{"fixed":"1.7.10"}]}]},{"source":"ghsa","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4"},{"fixed":"1.4.22"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.10-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.10-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.10-1"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.3-3+squeeze14"}]}],"versions":["1.2.3-3","1.2.3-3+squeeze1","1.2.3-3+squeeze10","1.2.3-3+squeeze11","1.2.3-3+squeeze12","1.2.3-3+squeeze13","1.2.3-3+squeeze2","1.2.3-3+squeeze3","1.2.3-3+squeeze5","1.2.3-3+squeeze6","1.2.3-3+squeeze7","1.2.3-3+squeeze8","1.2.3-3+squeeze9"],"bundled":2},{"source":"osv","ecosystem":"Debian:7","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.5-1+deb7u13"}]}],"versions":["1.4.5-1","1.4.5-1+deb7u1","1.4.5-1+deb7u10","1.4.5-1+deb7u11","1.4.5-1+deb7u11~bpo60+1","1.4.5-1+deb7u12","1.4.5-1+deb7u13~bpo60+1","1.4.5-1+deb7u2","1.4.5-1+deb7u3","1.4.5-1+deb7u4","1.4.5-1+deb7u4~bpo60+1","1.4.5-1+deb7u5","1.4.5-1+deb7u6","1.4.5-1+deb7u7","1.4.5-1+deb7u7~bpo60+1","1.4.5-1+deb7u8","1.4.5-1+deb7u8~bpo60+1","1.4.5-1+deb7u9"],"bundled":2},{"source":"osv","ecosystem":"Debian:8","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.7-1+deb8u2"}]}],"versions":["1.7.7-1","1.7.7-1+deb8u1"],"bundled":2},{"source":"osv","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7"},{"fixed":"1.7.10"}]}],"versions":["1.7","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","1.7.9"]},{"source":"osv","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4"},{"fixed":"1.4.22"}]}],"versions":["1.4","1.4.1","1.4.10","1.4.11","1.4.12","1.4.13","1.4.14","1.4.15","1.4.16","1.4.17","1.4.18","1.4.19","1.4.2","1.4.20","1.4.21","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.4.9"]},{"source":"osv","ecosystem":"Mageia:4","package":"python-django14","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.4.22-1.mga4"}]}],"bundled":2},{"source":"osv","ecosystem":"Mageia:5","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.4-1.mga5"}]}],"bundled":2},{"source":"osv","ecosystem":"PyPI","package":"django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.7"},{"fixed":"1.7.10"},{"introduced":"1.4"},{"fixed":"1.4.22"}]}],"versions":["1.4","1.4.1","1.4.10","1.4.11","1.4.12","1.4.13","1.4.14","1.4.15","1.4.16","1.4.17","1.4.18","1.4.19","1.4.2","1.4.20","1.4.21","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.4.8","1.4.9","1.7","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","1.7.9"]},{"source":"osv","ecosystem":"Red Hat:openstack:5::el6","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.11-3.el6ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:5::el6","package":"python-django-bash-completion","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.11-3.el6ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:5::el6","package":"python-django-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.11-3.el6ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:5::el7","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.11-3.el7ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:5::el7","package":"python-django-bash-completion","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.11-3.el7ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:5::el7","package":"python-django-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.11-3.el7ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:6::el7","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.11-3.el7ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:6::el7","package":"python-django-bash-completion","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.11-3.el7ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:openstack:6::el7","package":"python-django-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.6.11-3.el7ost"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1-2ubuntu0.10"}]}],"versions":["1.5.4-1ubuntu1","1.6-1","1.6.1-1","1.6.1-2","1.6.1-2ubuntu0.1","1.6.1-2ubuntu0.2","1.6.1-2ubuntu0.3","1.6.1-2ubuntu0.4","1.6.1-2ubuntu0.5","1.6.1-2ubuntu0.6","1.6.1-2ubuntu0.8","1.6.1-2ubuntu0.9"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"python-django","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.1-2ubuntu0.10"}]}],"versions":["1.5.4-1ubuntu1","1.6-1","1.6.1-1","1.6.1-2","1.6.1-2ubuntu0.1","1.6.1-2ubuntu0.2","1.6.1-2ubuntu0.3","1.6.1-2ubuntu0.4","1.6.1-2ubuntu0.5","1.6.1-2ubuntu0.6","1.6.1-2ubuntu0.8","1.6.1-2ubuntu0.9"],"bundled":2}],"products":[{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"djangoproject","product":"django"},{"vendor":"oracle","product":"solaris"}],"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-November/172084.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1894.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://www.debian.org/security/2015/dsa-3338","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory","web"]},{"url":"http://www.securitytracker.com/id/1033318","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1767.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://www.ubuntu.com/usn/USN-2720-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1766.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://www.securityfocus.com/bid/76440","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://www.djangoproject.com/weblog/2015/aug/18/security-releases/","tags":["x_refsource_MISC","x_transferred","Patch","Vendor Advisory","advisory","fix","web","article"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-5964","tags":["advisory"]},{"url":"https://web.archive.org/web/20200228051814/http://www.securityfocus.com/bid/76440","tags":["web"]},{"url":"https://www.djangoproject.com/weblog/2015/aug/18/security-releases","tags":["web"]},{"url":"https://github.com/django/django/commit/2f5485346ee6f84b4e52068c04e043092daf55f7","tags":["web"]},{"url":"https://github.com/django/django/commit/575f59f9bc7c59a5e41a081d1f5f55fc859c5012","tags":["web"]},{"url":"https://github.com/django/django/commit/8cc41ce7a7a8f6bebfdd89d5ab276cd0109f4fc5","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-23.yaml","tags":["web"]},{"url":"https://web.archive.org/web/20150906124157/http://www.securityfocus.com/bid/76440","tags":["web"]},{"url":"https://web.archive.org/web/20150923161048/http://www.securitytracker.com/id/1033318","tags":["web"]},{"url":"https://github.com/advisories/GHSA-x38m-486c-2wr9","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2015-5964","tags":["advisory"]},{"url":"https://github.com/django/django","tags":["package"]},{"url":"https://advisories.mageia.org/MGASA-2015-0327.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=16607","tags":["report"]},{"url":"http://www.ubuntu.com/usn/usn-2720-1/","tags":["web"]},{"url":"https://access.redhat.com/errata/RHSA-2015:1766","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1252890","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1252891","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2015/rhsa-2015_1766.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2015-5963","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-5963","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-5963","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2015-5964","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-5964","tags":["advisory","report"]},{"url":"https://access.redhat.com/errata/RHSA-2015:1767","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2015/rhsa-2015_1767.json","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2015:1894","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2015/rhsa-2015_1894.json","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2015-5964","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-2720-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2015-5963","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2015-5964","description":"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.","status":"published","published":"2015-08-24T14:00:00Z","modified":"2024-08-06T07:06:34.982Z","updated_at":"2026-11-02T14:35:39.846011Z"}],"euvd":[{"id":"EUVD-2015-0012","description":"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.","status":"published","published":"2015-08-24T14:00:00Z","modified":"2024-08-06T07:06:34Z","updated_at":"2026-11-03T02:21:58.196951Z"}],"ghsa":[{"id":"GHSA-x38m-486c-2wr9","title":"Denial-of-service possibility in logout() view by filling session store","description":"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.","status":"published","published":"2022-05-17T03:16:12Z","modified":"2024-09-18T19:59:53Z","cvss":[{"version":"4.0","score":6.6,"vector":"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","level":"medium"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T14:38:04.690827Z"}],"nvd":[{"id":"CVE-2015-5964","description":"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.","status":"published","published":"2015-08-24T14:59:09.837Z","modified":"2026-06-17T00:30:11.87Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-399"],"updated_at":"2026-11-02T14:03:08.998581Z"}],"osv":[{"id":"GHSA-x38m-486c-2wr9","title":"Denial-of-service possibility in logout() view by filling session store","description":"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.","status":"published","published":"2022-05-17T03:16:12Z","modified":"2024-11-28T05:41:54.627337Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"},{"version":"4.0","score":6.6,"vector":"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","level":"medium"}],"updated_at":"2026-11-02T15:46:59.484835Z"},{"id":"CVE-2015-5964","description":"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.","status":"published","published":"2015-08-24T14:59:09Z","modified":"2026-04-16T06:24:51.954571242Z","updated_at":"2026-11-02T15:44:00.594921Z"},{"id":"DEBIAN-CVE-2015-5964","description":"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.","status":"published","published":"2015-08-24T14:59:09.837Z","modified":"2026-09-09T06:47:26.901522227Z","updated_at":"2026-11-02T15:45:27.04239Z"},{"id":"DLA-301-1","title":"python-django - security update","status":"published","published":"2015-08-26T00:00:00Z","modified":"2026-03-09T01:18:35.14242Z","updated_at":"2026-11-02T15:46:11.189256Z"},{"id":"DSA-3338-1","title":"python-django - security update","status":"published","published":"2015-08-18T00:00:00Z","modified":"2026-03-09T01:22:29.888913Z","updated_at":"2026-11-02T15:46:16.199525Z"},{"id":"MGASA-2015-0327","title":"Updated python-django and python-django14 packages fix security vulnerabilities","description":"Lin Hua Cheng discovered that Django incorrectly handled the session store.\nA remote attacker could use this issue to cause the session store to fill\nup, resulting in a denial of service.\n","status":"published","published":"2015-08-27T20:49:46Z","modified":"2026-04-16T06:25:48.702570404Z","updated_at":"2026-11-02T15:49:39.792687Z"},{"id":"PYSEC-2015-23","description":"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.","status":"published","published":"2015-08-24T14:59:00Z","modified":"2026-06-10T17:00:59.416712255Z","updated_at":"2026-11-02T15:52:51.645172Z"},{"id":"RHSA-2015:1766","title":"Red Hat Security Advisory: python-django security update","status":"published","published":"2024-09-15T22:50:53Z","modified":"2026-06-29T10:10:08Z","updated_at":"2026-11-02T15:53:03.182161Z"},{"id":"RHSA-2015:1767","title":"Red Hat Security Advisory: python-django security update","status":"published","published":"2024-09-15T22:50:48Z","modified":"2026-06-29T10:10:08Z","updated_at":"2026-11-02T15:53:03.182161Z"},{"id":"RHSA-2015:1894","title":"Red Hat Security Advisory: python-django security update","status":"published","published":"2024-09-15T22:50:57Z","modified":"2026-06-29T10:10:17Z","updated_at":"2026-11-02T15:53:03.182161Z"},{"id":"UBUNTU-CVE-2015-5964","description":"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.","status":"published","published":"2015-08-18T17:00:00Z","modified":"2026-02-04T03:43:55.766292Z","updated_at":"2026-11-02T15:54:10.385269Z"},{"id":"USN-2720-1","title":"python-django vulnerability","description":"Lin Hua Cheng discovered that Django incorrectly handled the session store.\nA remote attacker could use this issue to cause the session store to fill\nup, resulting in a denial of service.\n","status":"published","published":"2015-08-18T18:25:14Z","modified":"2026-02-10T04:40:55Z","updated_at":"2026-11-02T16:58:09.227524Z"}]}}
