Kurz gesagt
- CVE-2020-7965 ist eine Schwachstelle (HOCH (CVSS 8.8)) in webargs, webargs (webargs project).
- Wahrscheinlichkeit einer Ausnutzung in den nächsten 30 Tagen (EPSS): 0.61%, höher als bei 49.2% aller Schwachstellen.
- Abhilfe: auf 5.5.3, 6.0.0b4 oder neuer aktualisieren.
| Package | Affected versions | Patched versions |
|---|
| webargs PyPI | ≥ 5.0.0, < 5.5.3≥ 6.0.0b1, < 6.0.0b4
| 5.5.36.0.0b4
|
| webargs | ≥ 5.0.0, ≤ 5.5.2
| No fix yet |
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.
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free