PYSEC-2021-113

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/channels/PYSEC-2021-113.yaml
JSON Data
https://api.test.osv.dev/v1/vulns/PYSEC-2021-113
Aliases
Published
2021-02-22T03:15:00Z
Modified
2023-11-01T04:53:04.446218Z
Summary
[none]
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.

References

Affected packages

PyPI / channels

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
3.0.3

Affected versions

3.*

3.0.0
3.0.1
3.0.2