High severity · published Feb 22, 2021
CVE-2020-35681
Django Channels 3.x before 3.0.3 allows remote attackers to obtain sensitive information from a different request scope
7.4
CVSS
2.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.7% · higher than 86% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CH
Channels · Djangoproject
3.0.0 before 3.0.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-35681
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-35681
Exploit
https://channels.readthedocs.io/en/stable/releases/3.0.3.html
Release Notes
https://channels.readthedocs.io/en/stable/releases/index.html
Third Party Advisory
https://github.com/django/channels/releases
