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

CVE-2015-5963: Django denial of service via empty session record creation

May 17, 2022 (updated September 17, 2024)

contrib.sessions.middleware.SessionMiddleware in Django 1.8.x before 1.8.4, 1.7.x before 1.7.10, 1.4.x before 1.4.22, and possibly other versions allows remote attackers to cause a denial of service (session store consumption or session record removal) via a large number of requests to contrib.auth.views.logout, which triggers the creation of an empty session record.

References

  • access.redhat.com/errata/RHSA-2015:1876
  • github.com/advisories/GHSA-pgxh-wfw4-jx2v
  • github.com/django/django
  • github.com/django/django/blob/4555a823fd57e261e1b19c778429473256c8ea08/docs/releases/1.8.4.txt
  • github.com/django/django/commit/2eb86b01d7b59be06076f6179a454d0fd0afaff6
  • github.com/django/django/commit/2f5485346ee6f84b4e52068c04e043092daf55f7
  • github.com/django/django/commit/575f59f9bc7c59a5e41a081d1f5f55fc859c5012
  • github.com/django/django/commit/8cc41ce7a7a8f6bebfdd89d5ab276cd0109f4fc5
  • github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2015-22.yaml
  • nvd.nist.gov/vuln/detail/CVE-2015-5963
  • web.archive.org/web/20150904151934/http://www.securitytracker.com/id/1033318
  • web.archive.org/web/20200228050526/http://www.securityfocus.com/bid/76428
  • www.djangoproject.com/weblog/2015/aug/18/security-releases

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.4 before 1.4.22, all versions starting from 1.7 before 1.7.10, all versions starting from 1.8 before 1.8.4

Fixed versions

  • 1.8.4
  • 1.7.10
  • 1.4.22

Solution

Upgrade to versions 1.4.22, 1.7.10, 1.8.4 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

pypi/Django/CVE-2015-5963.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:16:07 +0000.