VDB

CVE-2020-35681

CVE-2020-35681 PUBLISHED CVSS 7.400000095367432 HIGH

Django Channels leakage of session identifiers using legacy AsgiHandler

Reported by mitre · Published February 22, 2021

channels is fixed in 3.0.3 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
channelsPyPI3.0.3
channelsdjangoproject3.0.3

Risk scores

CVSS 3.1
7.400000095367432
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
n/an/an/a
PyPIchannels3.0.0
n/an/a*

Timeline

  • Feb 22, 2021 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 9, 2026 Security Advisory
  • Jun 17, 2026 CVE Updated
  • Aug 31, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-35681
vulnetix vdb fixes CVE-2020-35681

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-35681/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›