Live threats

All CVEs / Djangoproject

CVE-2015-3982Djangoproject Django

Medium 5.0 No auth needed

Priority
45
CVSS 2.0
5.0
EPSS
1.8%
probability of exploitation in 30 days · percentile 78
Auth required
No
Published
Jun 2, 2015
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
AV:N/AC:L/Au:N/C:N/I:P/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django ≥ 1.8a1 < 1.8.2 1.8.2 pip install "django>=1.8.2"
PyPI django ≥ 1.8 < 1.8.2 1.8.2 pip install "django>=1.8.2"

Per OSV / GitHub Advisories (GHSA-6wgp-fwfm-mxp3, PYSEC-2015-19). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango1.8.0
djangoprojectdjango1.8.1

Official advisories

Also: SUSE (+1)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.