CVE-2015-3982
MEDIUM 5.0CVSS 2.0Django allows user sessions hijacking via an empty string in the session key
The session.flush function in the cached_db backend in Django 1.8.x before 1.8.2 does not properly flush the session, which allows remote attackers to hijack user sessions via an empty string in the session key.
- Published
- 2 Jun 2015
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-384
- Also known as
- GHSA-6wgp-fwfm-mxp3PYSEC-2015-19
- Sources
- NVDJSONOSV GHSA-6wgp-fwfm-mxp3JSONOSV PYSEC-2015-19JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U | |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.8.0:*:*:*:*:*:*:* |
= 1.8.0 | |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:1.8.1:*:*:*:*:*:*:* |
= 1.8.1 | |
| OSV | PyPI | django | >= 1.8a1, < 1.8.2 | 1.8.2 |
| OSV | PyPI | django | >= 1.8, < 1.8.2 | 1.8.2 |
References
- http://www.securityfocus.com/bid/74960 · WEB
- https://www.djangoproject.com/weblog/2015/may/20/security-release/ · Patch, Vendor Advisory, WEB, ARTICLE
- https://nvd.nist.gov/vuln/detail/CVE-2015-3982 · ADVISORY
- https://github.com/django/django/commit/31cb25adecba930bdeee4556709f5a1c42d88fd6 · WEB
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-19.yaml · WEB
- https://web.archive.org/web/20200228092138/http://www.securityfocus.com/bid/74960 · WEB
- https://github.com/advisories/GHSA-6wgp-fwfm-mxp3 · ADVISORY
History
- 25 Nov 2026 20:18 UTC · NVD: first stored (published 2 Jun 2015)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Jun 2015)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 May 2022)