CVE-2020-7965
Cross-Site Request Forgery in Webargs
8.8
HIGH
CVSS 3.1
EPSS 0.17%
描述
flaskparser.py in Webargs 5.x through 5.5.2 doesn't check that the Content-Type header is application/json when receiving JSON input. If the request body is valid JSON, it will accept it even if the content type is application/x-www-form-urlencoded. This allows for JSON POST requests to be made across domains, leading to CSRF.
如何修補 CVE-2020-7965
要修補 CVE-2020-7965,請將受影響套件升級到下列已修補版本。
- —升級至 5.5.3 或更新版本
- —升級至 5.5.3 或更新版本
CVE-2020-7965 正在被利用嗎?
低 — EPSS 為 0.2%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- >= 5.0.0, < 5.5.3
- >= 5.0.0, < 5.5.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |