{"id":"CVE-2020-35681","published":"2021-02-22T02:03:14Z","modified":"2024-08-04T17:09:14Z","title":"Django Channels 3.x before 3.0.3 allows remote attackers to obtain sensitive information from a different request scope","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02691,"percentile":0.86239,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/django/channels/releases","tags":["x_refsource_MISC"]},{"url":"https://channels.readthedocs.io/en/stable/releases/index.html","tags":["x_refsource_MISC"]},{"url":"https://channels.readthedocs.io/en/stable/releases/3.0.3.html","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.2,"factors":[{"name":"EPSS percentile","points":17.25}]},"affected":[{"ecosystem":"PyPI","package":"channels","vulnerableRanges":[">=3.0.0, <3.0.3"],"patched":["3.0.3"],"from":["GHSA-v542-8q9x-cffc","PYSEC-2021-113"],"provenance":"source"}],"summary":{"text":"Django Channels 3.x versions before 3.0.3 contain a flaw in the legacy channels.http.AsgiHandler class, which is used to handle HTTP requests in ASGI environments prior to Django 3.0, where request scopes are not correctly separated. An remote attacker can obtain sensitive information from another client's request scope, such as session identifiers, when the timing is right, since responses can be sent to the wrong client; the flaw does not affect Django's ASGIHandler.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:54Z"},"euvd":{"id":"EUVD-2021-0041","exploited":false,"provenance":"source"}}