CVE-2015-5964
Denial-of-service possibility in logout() view by filling session store
Also known as GHSA-x38m-486c-2wr9, PYSEC-2015-23
Mitigation
- Upgrade django to one of 1.7.10, 1.4.22 (or later in the same release line).
Who should check
- Projects that depend on PyPI package django (>= 1.7, < 1.7.10)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- django >= 1.7, < 1.7.10
- Fixed in
- 1.7.10, 1.4.22
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.0 (v2.0, NVD)AV:N/AC:L/Au:N/C:N/I:N/A:P
Show all 6 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Authentication: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: Partial
- EPSS
- 5.06% chance of exploitation in 30 days (percentile 93, 2026-11-26)
- CWE
- CWE-399
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI django | >= 1.7, < 1.7.10 | 1.7.10, 1.4.22 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2015-5964. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2015-5964.md Affected: django >= 1.7, < 1.7.10 Fixed in: 1.7.10, 1.4.22 Steps: 1. Search this machine and project for django (PyPI), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- 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://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
- https://nvd.nist.gov/vuln/detail/CVE-2015-5964
- https://github.com/advisories/GHSA-x38m-486c-2wr9
Patches
- https://www.djangoproject.com/weblog/2015/aug/18/security-releases/
- https://github.com/django/django/commit/2f5485346ee6f84b4e52068c04e043092daf55f7
- https://github.com/django/django/commit/575f59f9bc7c59a5e41a081d1f5f55fc859c5012
- https://github.com/django/django/commit/8cc41ce7a7a8f6bebfdd89d5ab276cd0109f4fc5
Other
- http://www.securitytracker.com/id/1033318
- http://www.securityfocus.com/bid/76440
- http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-23.yaml
- https://web.archive.org/web/20150906124157/http://www.securityfocus.com/bid/76440
- https://web.archive.org/web/20150923161048/http://www.securitytracker.com/id/1033318
- https://web.archive.org/web/20200228051814/http://www.securityfocus.com/bid/76440
- https://www.djangoproject.com/weblog/2015/aug/18/security-releases
FAQ
Is CVE-2015-5964 being exploited?
There is no confirmed exploitation: CVE-2015-5964 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 5.06% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2015-5964?
Medium: CVSS 5.0 (v2.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2015-5964?
django >= 1.7, < 1.7.10.
Is there a fix for CVE-2015-5964?
Yes. Fixed in 1.7.10, 1.4.22. Upgrade django to one of 1.7.10, 1.4.22 (or later in the same release line).
How do I check if I'm affected by CVE-2015-5964?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.