Name | CVE-2021-45958 |
Description | UltraJSON (aka ujson) through 5.1.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode). Exploitation can, for example, use a large amount of indentation. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2929-1 |
Debian Bugs | 1005140 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
ujson (PTS) | bullseye | 4.0.2-1 | vulnerable |
| bookworm | 5.7.0-1 | fixed |
| sid, trixie | 5.10.0-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bullseye] - ujson <no-dsa> (Minor issue)
[buster] - ujson <no-dsa> (Minor issue)
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36009
https://github.com/ultrajson/ultrajson/issues/501
https://github.com/ultrajson/ultrajson/issues/502
https://github.com/ultrajson/ultrajson/pull/504
Fixed by: https://github.com/ultrajson/ultrajson/pull/519