Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Django
  4. ›
  5. CVE-2015-3982

CVE-2015-3982: Django allows user sessions hijacking via an empty string in the session key

May 17, 2022 (updated September 17, 2024)

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.

References

  • github.com/advisories/GHSA-6wgp-fwfm-mxp3
  • github.com/django/django
  • github.com/django/django/commit/31cb25adecba930bdeee4556709f5a1c42d88fd6
  • github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-19.yaml
  • nvd.nist.gov/vuln/detail/CVE-2015-3982
  • web.archive.org/web/20200228092138/http://www.securityfocus.com/bid/74960
  • www.djangoproject.com/weblog/2015/may/20/security-release

Code Behaviors & Features

Detect and mitigate CVE-2015-3982 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.8a1 before 1.8.2

Fixed versions

  • 1.8.2

Solution

Upgrade to version 1.8.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-384: Session Fixation

Source file

pypi/Django/CVE-2015-3982.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:25 +0000.