UBUNTU-CVE-2020-35681

Source
https://ubuntu.com/security/CVE-2020-35681
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-35681.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2020-35681
Related
Published
2021-02-22T03:15:00Z
Modified
2024-10-15T14:07:49Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H CVSS Calculator
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

Ubuntu:Pro:18.04:LTS / python-django-channels

Package

Name
python-django-channels
Purl
pkg:deb/ubuntu/python-django-channels?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.1.8.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / python-django-channels

Package

Name
python-django-channels
Purl
pkg:deb/ubuntu/python-django-channels?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.2.0-1
2.3.0-1
2.3.1-1
2.4.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / python-django-channels

Package

Name
python-django-channels
Purl
pkg:deb/ubuntu/python-django-channels?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.3-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.0.3-1",
            "binary_name": "python-django-channels-doc"
        },
        {
            "binary_version": "3.0.3-1",
            "binary_name": "python3-django-channels"
        }
    ]
}