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.
References
Link | Resource |
---|---|
https://webargs.readthedocs.io/en/latest/changelog.html | Release Notes Vendor Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2020-01-29T14:33:16
Updated: 2020-01-29T14:33:16
Reserved: 2020-01-24T00:00:00
Link: CVE-2020-7965
JSON object: View
NVD Information
Status : Analyzed
Published: 2020-01-29T15:15:11.070
Modified: 2020-02-03T16:36:10.433
Link: CVE-2020-7965
JSON object: View
Redhat Information
No data.
CWE