CVE-2020-35681
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 3.0.3-1 |
| sid | Fixed | 3.0.3-1 |
| forky | Fixed | 3.0.3-1 |
| bullseye | Fixed | 3.0.3-1 |
| bookworm | Fixed | 3.0.3-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | channels | >=3.0.0,<3.0.3 | 3.0.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-35681
- https://github.com/django/channels/commit/e85874d9630474986a6937430eac52db79a2a022
- https://channels.readthedocs.io/en/stable/releases/3.0.3.html
- https://channels.readthedocs.io/en/stable/releases/index.html
- https://github.com/advisories/GHSA-v542-8q9x-cffc
- https://github.com/django/channels
- https://github.com/django/channels/releases
- https://github.com/pypa/advisory-database/tree/main/vulns/channels/PYSEC-2021-113.yaml
- https://security-tracker.debian.org/tracker/CVE-2020-35681
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.