Webargs mishandles concurrent JSON parsing
High severity
GitHub Reviewed
Published
Mar 12, 2019
to the GitHub Advisory Database
•
Updated Nov 19, 2024
Description
Published to the GitHub Advisory Database
Mar 12, 2019
Reviewed
Jun 16, 2020
Last updated
Nov 19, 2024
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.
References