CVE-2020-35681

NameCVE-2020-35681
DescriptionDjango 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs979376

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-django-channels (PTS)buster2.1.7-1vulnerable
bullseye3.0.3-1fixed
bookworm4.0.0-1fixed
sid, trixie4.1.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-django-channelssource(unstable)3.0.3-1979376

Notes

[buster] - python-django-channels <no-dsa> (Minor issue)
https://channels.readthedocs.io/en/latest/releases/3.0.3.html
https://github.com/django/channels/commit/e85874d9630474986a6937430eac52db79a2a022 (3.0.3)

Search for package or bug name: Reporting problems