CVE-2020-35681

HIGH

Django Channels 3.0.0-3.0.2 - Information Disclosure via AsgiHandler Request Scope Mismatch

Title source: llm
STIX 2.1

Description

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.

References (3)

Core 3
Core References
Third Party Advisory x_refsource_misc
https://github.com/django/channels/releases
Release Notes, Vendor Advisory x_refsource_misc
https://channels.readthedocs.io/en/stable/releases/index.html
Exploit, Vendor Advisory x_refsource_confirm
https://channels.readthedocs.io/en/stable/releases/3.0.3.html

Scores

CVSS v3 7.4
EPSS 0.0266
EPSS Percentile 83.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H

Details

CWE
CWE-200
Status published
Products (2)
djangoproject/channels 3.0.0 - 3.0.3
pypi/channels 3.0.0 - 3.0.3PyPI
Published Feb 22, 2021
Tracked Since Feb 18, 2026