Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. webargs
  4. ›
  5. CVE-2019-9710

CVE-2019-9710: Webargs mishandles concurrent JSON parsing

March 12, 2019 (updated November 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

  • github.com/advisories/GHSA-8554-jxcw-454q
  • github.com/marshmallow-code/webargs
  • github.com/marshmallow-code/webargs/issues/371
  • github.com/pypa/advisory-database/tree/main/vulns/webargs/PYSEC-2019-139.yaml
  • nvd.nist.gov/vuln/detail/CVE-2019-9710
  • webargs.readthedocs.io/en/latest/changelog.html
  • webargs.readthedocs.io/en/latest/changelog.html

Code Behaviors & Features

Detect and mitigate CVE-2019-9710 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.1.3

Fixed versions

  • 5.1.3

Solution

Upgrade to version 5.1.3 or above.

Impact 8.1 HIGH

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Source file

pypi/webargs/CVE-2019-9710.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:44 +0000.