Advisory

GHSA-8554-jxcw-454q

Also known as: CVE-2019-9710, PYSEC-2019-139

Summary

Webargs mishandles concurrent JSON parsing

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-03-12 15:16 UTC
Modified
2025-08-04 21:12 UTC

Affected packages and fixes

webargs

PyPI · All systems

Affected

  • introduced 0, fixed 5.1.3 (ecosystem)

Fixed versions

5.1.3

Fix

  • Fixed version 5.1.3
    pip install --upgrade webargs==5.1.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences