Vulnerability · Published Feb 22, 2021 · Assigned by mitre

CVE-2020-35681

High 7.4

In plain English

A high-severity security flaw in the python-django-channels package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.7% (higher than 86% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.4High
Exploit odds (30 days)2.7%top 14.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python-django-channels3.0.3-1DEBIAN-CVE-2020-35681
Debian:13python-django-channels3.0.3-1DEBIAN-CVE-2020-35681
Debian:14python-django-channels3.0.3-1DEBIAN-CVE-2020-35681
PyPIchannels3.0.3GHSA-v542-8q9x-cffc
PyPIchannels3.0.3PYSEC-2021-113

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References