CVEfocus › CVE database › CVE-2020-35681

CVE-2020-35681

CVSS 7.4 HighEPSS 2.7% (higher than 87% of CVEs)Published 2021-02-22Updated 2024-08-04Assigner: mitre

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.

What to do

Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
2Fix pending
4Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04python-django-channelsNot affected
vulnerable_code_not_present
Ubuntu 25.10python-django-channelsNot affected
vulnerable_code_not_present
Ubuntu 24.04python-django-channelsNot affected
vulnerable_code_not_present
Ubuntu 22.04python-django-channelsNot affected
vulnerable_code_not_present
Ubuntu 20.04python-django-channelsFix pendingUBUNTU-CVE-2020-35681
Ubuntu 18.04python-django-channelsFix pendingUBUNTU-CVE-2020-35681
Debian 14python-django-channelsFixed3.0.3-1DEBIAN-CVE-2020-35681
Debian 13python-django-channelsFixed3.0.3-1DEBIAN-CVE-2020-35681
Debian 12python-django-channelsFixed3.0.3-1DEBIAN-CVE-2020-35681
PyPI librarychannelsFixed3.0.3PYSEC-2021-113

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.