GHSA-v542-8q9x-cffc

    Dashboard / Vulnerabilities / GHSA-v542-8q9x-cffc

    GHSA-v542-8q9x-cffc

    Published: 19 Mar 2021Last Modified: 13 Sept 2024

    Summary: Django Channels leakage of session identifiers using legacy AsgiHandler

    Details: 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.

    Affected packages

    Package

    Name: channels

    Purl: pkg:pypi/channels

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 3.0.0
    Fixed -3.0.3

    Affected versions

    3.0.0
    3.0.1
    3.0.2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-v542-8q9x-cffc | CVE-DB