CVE-2020-7965
Last modified
CVE-2020-7965 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.49% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Webargs Project | Webargs | >= 5.0.0, <= 5.5.2 |
References
- https://webargs.readthedocs.io/en/latest/changelog.htmlRelease Notes, Vendor Advisory
- https://webargs.readthedocs.io/en/latest/changelog.htmlRelease Notes, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-7965?
How severe is CVE-2020-7965?
How do I fix CVE-2020-7965?
Are you affected by CVE-2020-7965?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
