Security mailing lists by PureSourceCode

CVE-2020-35681

HIGH 7.4CVSS 3.1

Django Channels leakage of session identifiers using legacy AsgiHandler

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.

Published
22 Feb 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-200
Also known as
GHSA-v542-8q9x-cffcPYSEC-2021-113
Sources
NVDJSONOSV GHSA-v542-8q9x-cffcJSONOSV PYSEC-2021-113JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.8 AV:N/AC:M/Au:N/C:P/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD djangoproject channels
cpe:2.3:a:djangoproject:channels:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.0.3 3.0.3
OSV PyPI channels >= 3.0.0, < 3.0.3 3.0.3

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 22 Feb 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Feb 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 19 Mar 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.