webargs
Affected
- introduced
5.0.0, fixed5.5.3(ecosystem)
Fixed versions
5.5.3
Fix
- Fixed version
5.5.3pip install --upgrade webargs==5.5.3
Advisory
Also known as: CVE-2020-7965, GHSA-fjq3-5pxw-4wj4
The record has no summary.
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.
Not rated by the source.
5.0.0, fixed 5.5.3 (ecosystem)5.5.3
5.5.3pip install --upgrade webargs==5.5.3Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0