logo

CVE-2020-35681 channels

Package

Manager: pip
Name: channels
Vulnerable Version: >=3.0.0 <3.0.3

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H

CVSS v4.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

EPSS: 0.008 pctl0.73173

Details

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.

Metadata

Created: 2021-03-19T21:29:02Z
Modified: 2024-09-13T17:49:26Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-v542-8q9x-cffc/GHSA-v542-8q9x-cffc.json
CWE IDs: ["CWE-200"]
Alternative ID: GHSA-v542-8q9x-cffc
Finding: F017
Auto approve: 1