CVE-2020-7965
Description
flaskparser.py in Webargs 5.x through 5.5.2 doesnt 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.
Risk Information
Base Score
8.8
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
0.167
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| Vulnerabilities CVE-2020-7965 are fixed in Python-webargs 5.5.3 | Windows |
| Vulnerabilities CVE-2020-7965 are fixed in Python-webargs 6.0.0b4 | Windows |
| Vulnerabilities CVE-2020-7965 are fixed in Python-webargs for linux 5.5.3 | Linux |
| Vulnerabilities CVE-2020-7965 are fixed in Python-webargs for linux 6.0.0b4 | Linux |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234