CVE-2020-35681

High

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.

SeverityHigh
CVSS7.4
Exploit probability—
ProductDjangoproject Channels
PublishedFeb 22, 2021
First seenFeb 22, 2021

How to fix

Update
  • djangoproject channels3.0.3 or later
  • channels3.0.3 or later

Affected products

ProductAffected versionsFixed in
djangoproject channels3.0.0 ≤ v < 3.0.33.0.3
channelsPyPI3.0.0 ≤ v < 3.0.33.0.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.