ujson
Affected
- introduced
1.34, fixed5.2.0(ecosystem)
Fixed versions
5.2.0
Fix
- Fixed version
5.2.0pip install --upgrade ujson==5.2.0
Advisory
Also known as: CVE-2021-45958, PYSEC-2022-25
UltraJSON vulnerable to Out-of-bounds Write
UltraJSON (aka ujson) 1.34 through 5.1.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode).
Medium Basis: The source's own band: MODERATE
1.34, fixed 5.2.0 (ecosystem)5.2.0
5.2.0pip install --upgrade ujson==5.2.0Fix 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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0