Race Condition Affecting webargs package, versions [,5.1.3)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.31% (71st 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 IDSNYK-PYTHON-WEBARGS-173773
  • published12 Mar 2019
  • disclosed12 Mar 2019
  • creditThiefMaster

Introduced: 12 Mar 2019

CVE-2019-9710  (opens in a new tab)
CWE-366  (opens in a new tab)

How 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.

CVSS Scores

version 3.1