EXECUTIVE SUMMARY:
A set of vulnerabilities in the UltraJSON (ujson) Python library impacts multiple releases. The first weakness involves an integer overflow during indentation operations in ujson.dumps(), which can lead to a buffer overflow, segmentation fault, or infinite loop under certain conditions, potentially causing a crash or denial of service in applications using it. The second weakness describes a logic flaw where parsing very large integer values leads to an unbounded memory leak, enabling denial of service (DoS) attacks on services that load untrusted JSON input. Both weaknesses were discovered and fixed in ujson and are rated with indicating significant impact on availability for affected projects.
RECOMMENDATION:
REFERENCES:
The following reports contain further technical details:
https://github.com/advisories/GHSA-c8rr-9gxc-jprv
https://github.com/advisories/GHSA-wgvc-ghv9-3pmm