PT-2022-20540 · Ultrajson+5 · Ultrajson+5
Justanotherarchivist
·
Published
2022-07-05
·
Updated
2025-05-17
·
CVE-2022-31117
CVSS v3.1
5.9
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
UltraJSON versions prior to 5.4.0
Description
The issue occurs when an error happens while reallocating a buffer for string decoding, causing the buffer to get freed twice. Due to how UltraJSON uses the internal decoder, this double free is impossible to trigger from Python. There are no known workarounds for this issue.
Recommendations
For versions prior to 5.4.0, upgrade to UltraJSON 5.4.0 to resolve the issue.
At the moment, there is no other information about additional mitigation measures.
Exploit
Fix
Double Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Debian
Linuxmint
Suse
Ubuntu
Ultrajson