Race Condition Affecting webargs package, versions [,5.1.3)
Snyk CVSS
Attack Complexity
High
Threat Intelligence
EPSS
0.22% (61st
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-WEBARGS-173773
- published 12 Mar 2019
- disclosed 12 Mar 2019
- credit ThiefMaster
Introduced: 12 Mar 2019
CVE-2019-9710 Open this link in a new tabHow to fix?
Upgrade webargs
to version 5.1.3 or higher.
Overview
webargs is a python library for parsing and validating HTTP request objects, with built-in support for popular web frameworks, including Flask, Django, Bottle, Tornado, Pyramid, webapp2, Falcon, and aiohttp.
Affected versions of this package are vulnerable to Race Condition. Json parsing uses a short-lived cache to store the parsed Json body. This cache is not thread-safe, meaning that incorrect Json payloads could have been parsed for concurrent requests.