CVE-2021-32677 — Cross-Site Request Forgery in Fastapi
Severity
8.1HIGHNVD
EPSS
0.1%
top 69.20%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJun 9
Latest updateJun 10
Description
FastAPI is a web framework for building APIs with Python 3.6+ based on standard Python type hints. FastAPI versions lower than 0.65.2 that used cookies for authentication in path operations that received JSON payloads sent by browsers were vulnerable to a Cross-Site Request Forgery (CSRF) attack. In versions lower than 0.65.2, FastAPI would try to read the request payload as JSON even if the content-type header sent was not set to application/json or a compatible JSON media type (e.g. applicatio…
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NExploitability: 2.8 | Impact: 5.2
Affected Packages4 packages
Also affects: Fedora 34
Patches
🔴Vulnerability Details
3📋Vendor Advisories
1Debian▶
CVE-2021-32677: fastapi - FastAPI is a web framework for building APIs with Python 3.6+ based on standard ...↗2021