VDB
Sign up
—

PYSEC-2019-139

Quick fix

PYSEC-2019-139 — webargs: upgrade to the fixed version with the command below.

pip install --upgrade 'webargs>=5.1.3'

Details

An issue was discovered in webargs before 5.1.3, as used with marshmallow and other products. 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/webargs
Introduced in: 0Fixed in: 5.1.3
Fixpip install --upgrade 'webargs>=5.1.3'

References