UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. In versions prior to 5.4.0 an error occurring while reallocating a buffer for string decoding can cause the buffer to get freed twice. Due to how UltraJSON uses the internal decoder, this double free is impossible to trigger from Python. This issue has been resolved in version 5.4.0 and all users should upgrade to UltraJSON 5.4.0. There are no known workarounds for this issue.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2022-07-05T17:30:13

Updated: 2024-08-03T07:11:39.016Z

Reserved: 2022-05-18T00:00:00

Link: CVE-2022-31117

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-07-05T18:15:08.087

Modified: 2024-11-21T07:03:55.823

Link: CVE-2022-31117

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-07-02T00:00:00Z

Links: CVE-2022-31117 - Bugzilla