CVE-2020-35681
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.
如何修補 CVE-2020-35681
要修補 CVE-2020-35681,請將受影響套件升級到下列已修補版本。
- —升級至 3.0.3-1 或更新版本
- —升級至 3.0.3 或更新版本
- —升級至 3.0.3 或更新版本
CVE-2020-35681 正在被利用嗎?
低 — EPSS 為 0.8%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- from 0, < 3.0.3-1
- >= 3.0.0, < 3.0.3
- >= 3.0.0, < 3.0.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.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 |
| osv | CVSS 3.1 | HIGH7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H |