GitHub Advisoryadvisory · PyPI
GHSA-8554-jxcw-454q Webargs mishandles concurrent JSON parsing
HIGH
Official page ↗
- Aliases
- CVE-2019-9710
- Ecosystem
- PyPI
- Packages
- webargs
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-362
- Reviewed
- 2020-06-16
Affected packages
• PyPI webargs: < 5.1.3 → fixed in 5.1.3
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.
Related
Alias · CVE (1)
- CVE-2019-9710 An issue was discovered in webargs before 5.1.3, as used with marshmallow and other products. vulnerability
Weakness · CWE (1)
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-9710 advisory
- https://github.com/marshmallow-code/webargs/issues/371 web
- https://github.com/marshmallow-code/webargs/pull/373 web
- https://github.com/marshmallow-code/webargs/commit/716bd8d1f24c84aaf99170efaa17d1d34206f6c0 web
- https://github.com/marshmallow-code/webargs package
- https://github.com/pypa/advisory-database/tree/main/vulns/webargs/PYSEC-2019-139.yaml web
- https://webargs.readthedocs.io/en/latest/changelog.html web
- https://webargs.readthedocs.io/en/latest/changelog.html#id24 web