{"id":"CVE-2015-3982","published":"2015-06-02T14:00:00Z","modified":"2024-08-06T06:04:02Z","title":"The session.flush function in the cached_db backend in Django 1.8.x before 1.8.2 does not properly flush the session…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0175,"percentile":0.7842,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.djangoproject.com/weblog/2015/may/20/security-release/","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/74960","tags":["vdb-entry","x_refsource_BID"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":15.68}]},"affected":[{"ecosystem":"PyPI","package":"Django","vulnerableRanges":[">=1.8a1, <1.8.2",">=1.8, <1.8.2"],"patched":["1.8.2"],"from":["GHSA-6wgp-fwfm-mxp3","PYSEC-2015-19"],"provenance":"source"}],"summary":{"text":"The session.flush function in the cached_db session backend of Django 1.8.x before 1.8.2 does not properly flush the session. An attacker who can supply an empty string as the session key can hijack user sessions remotely.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:34Z"},"euvd":{"id":"EUVD-2015-0008","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-django-cve-2011-4136","parents":[{"from":"CVE-2011-4136","to":"CVE-2015-3982","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["django/contrib/sessions/backends/cached_db.py"],"commits":["https://github.com/django/django/commit/ac7c3a110f906e4dfed3a17451bf7fd9fcb81296","https://github.com/django/django/commit/fbe2eead2fa9d808658ca582241bcacb02618840","https://github.com/django/django/commit/31cb25adecba930bdeee4556709f5a1c42d88fd6"],"basis":"shared function","functions":["flush"]}]}],"children":[{"from":"CVE-2015-3982","to":"CVE-2015-5963","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["django/contrib/sessions/backends/cached_db.py"],"commits":["https://github.com/django/django/commit/31cb25adecba930bdeee4556709f5a1c42d88fd6","https://github.com/django/django/commit/2eb86b01d7b59be06076f6179a454d0fd0afaff6","https://github.com/django/django/commit/2f5485346ee6f84b4e52068c04e043092daf55f7"],"basis":"shared function","functions":["flush"]}]},{"from":"CVE-2015-3982","to":"CVE-2015-5964","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["django/contrib/sessions/backends/cached_db.py"],"commits":["https://github.com/django/django/commit/31cb25adecba930bdeee4556709f5a1c42d88fd6","https://github.com/django/django/commit/2f5485346ee6f84b4e52068c04e043092daf55f7","https://github.com/django/django/commit/575f59f9bc7c59a5e41a081d1f5f55fc859c5012"],"basis":"shared function","functions":["flush"]},{"kind":"similar","provenance":"machine","score":0.35,"basis":"same package + description similarity"}]}]}}