Information disclosure in Djangoproject Channels

CVE-2020-35681

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.

Vulnerability class: Information Disclosure

EPSS: 0.027 (84.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2020-35681?
CVE-2020-35681 is a high-severity vulnerability in Djangoproject Channels, classified under Information Disclosure. CVSS score: 7.4/10. Published 2021-02-22.
How severe is CVE-2020-35681?
High severity. CVSS v3 base score is 7.4 out of 10.