Skip to content
OpenAdvisories
High · 7.5 CVE-2015-3982 EUVD-2015-0008GHSA-6wgp-fwfm-mxp3PYSEC-2015-19

Django allows user sessions hijacking via an empty string in the session key

Published Jun 2, 2015 · Updated Aug 6, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SUSE Package Hub 12 SP1 python-Django 1.11.15-2.1 openSUSE-SU-2023:0077-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-Django 1.9.12-1.1 openSUSE-SU-2026:11248-1, openSUSE-SU-2024:13887-1, openSUSE-SU-2024:11205-1
openSUSE Tumbleweed python-Django4 4.2.14-1.1 openSUSE-SU-2026:11235-1, openSUSE-SU-2024:14208-1
openSUSE Tumbleweed python-Django5 5.2.16-1.1 openSUSE-SU-2026:11270-1
openSUSE Tumbleweed python-Django6 6.0-1.1 openSUSE-SU-2026:10005-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django >= 1.8a1, < 1.8.2 1.8.2 GHSA-6wgp-fwfm-mxp3
PyPI django >= 1.8, < 1.8.2 1.8.2 PYSEC-2015-19

Advisories 9

References