CVE-2015-5143
Django Denial-of-service by filling session store
Also known as GHSA-h582-2pch-3xv3, PYSEC-2015-20
Mitigation
- Upgrade django to one of 1.4.21, 1.7.9, 1.8.3 (or later in the same release line).
Who should check
- Projects that depend on PyPI package django (< 1.4.21)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- django < 1.4.21
- Fixed in
- 1.4.21, 1.7.9, 1.8.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.8 (v2.0, NVD)AV:N/AC:L/Au:N/C:N/I:N/A:C
Show all 6 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Authentication: None
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: Complete
- EPSS
- 7.22% chance of exploitation in 30 days (percentile 95, 2026-11-26)
- CWE
- CWE-399
- Modified
Description
The session backends in Django before 1.4.21, 1.5.x through 1.6.x, 1.7.x before 1.7.9, and 1.8.x before 1.8.3 allows remote attackers to cause a denial of service (session store consumption) via multiple requests with unique session keys.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI django | < 1.4.21 | 1.4.21, 1.7.9, 1.8.3 | 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-5143. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2015-5143.md Affected: django < 1.4.21 Fixed in: 1.4.21, 1.7.9, 1.8.3 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
- https://security.gentoo.org/glsa/201510-06
- http://lists.opensuse.org/opensuse-updates/2015-10/msg00043.html
- http://lists.opensuse.org/opensuse-updates/2015-10/msg00046.html
- http://www.debian.org/security/2015/dsa-3305
- http://rhn.redhat.com/errata/RHSA-2015-1678.html
- http://rhn.redhat.com/errata/RHSA-2015-1686.html
- http://www.ubuntu.com/usn/USN-2671-1
- https://nvd.nist.gov/vuln/detail/CVE-2015-5143
- https://github.com/advisories/GHSA-h582-2pch-3xv3
Patches
- https://www.djangoproject.com/weblog/2015/jul/08/security-releases/
- https://github.com/django/django/commit/1828f4341ec53a8684112d24031b767eba557663
- https://github.com/django/django/commit/2e47f3e401c29bc2ba5ab794d483cb0820855fb9
- https://github.com/django/django/commit/66d12d1ababa8f062857ee5eb43276493720bf16
Other
- http://www.securityfocus.com/bid/75666
- http://www.securitytracker.com/id/1032820
- 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-20.yaml
- https://www.djangoproject.com/weblog/2015/jul/08/security-releases
FAQ
Is CVE-2015-5143 being exploited?
There is no confirmed exploitation: CVE-2015-5143 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 7.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2015-5143?
High: CVSS 7.8 (v2.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2015-5143?
django < 1.4.21.
Is there a fix for CVE-2015-5143?
Yes. Fixed in 1.4.21, 1.7.9, 1.8.3. Upgrade django to one of 1.4.21, 1.7.9, 1.8.3 (or later in the same release line).
How do I check if I'm affected by CVE-2015-5143?
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.