Skip to main content
← All vulnerabilities
CVE-2020-35681PYSEC-2021-113GHSA-V542-8Q9X-CFFC

Django Channels 3.x before 3.0.3 allows remote attackers to obtain sensitive information from a different request scope.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.0.3
None on Exploit-DB, Metasploit or GitHub

Summary

Django Channels 3.x before 3.0.3 allows remote attackers to obtain sensitive information from a different request scope. The legacy channels.http.AsgiHandler class, used for handling HTTP type requests in an ASGI environment prior to Django 3.0, did not correctly separate request scopes in Channels 3.0. In many cases this would result in a crash but, with correct timing, responses could be sent to the wrong client, resulting in potential leakage of session identifiers and other sensitive data. Note that this affects only the legacy Channels provided class, and not Django's similar ASGIHandler, available from Django 3.0.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • channelsPyPI

    From 3.0.0 · fixed in 3.0.3

References 3

GitHub · django/channels

channels.readthedocs.io