CVE-2019-9710 Webargs mishandles concurrent JSON parsing
Concurrent requests may receive incorrect JSON payloads due to a thread-unsafe cache in the webargs library, potentially leading to data integrity issues.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-9710?
CVE-2019-9710 is a high-severity vulnerability in n/a, published on 12 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-362
Which versions are affected by CVE-2019-9710?
3 open source packages ship an affected version, including webargs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
webargs PyPI | All versions | 5.1.3 |
webargs PyPI | All versions | 5.1.3 |
webargs PyPI | All versions | 5.1.3 |
Products include Webargs Project Webargs.
How do I fix CVE-2019-9710?
Upgrade webargs to 5.1.3 or later.
Is CVE-2019-9710 being exploited?
There is no known exploitation of CVE-2019-9710 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-8554-jxcw-454q, PYSEC-2019-139.