{"id":"ALPINE-CVE-2021-45958","details":"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.","modified":"2026-11-03T06:32:41.913630452Z","published":"2022-01-01T00:15:08.813Z","upstream":["CVE-2021-45958"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-45958"}],"affected":[{"package":{"name":"py3-ujson","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/py3-ujson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-45958.json"}},{"package":{"name":"py3-ujson","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/py3-ujson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-45958.json"}},{"package":{"name":"py3-ujson","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/py3-ujson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-45958.json"}},{"package":{"name":"py3-ujson","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/py3-ujson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-45958.json"}},{"package":{"name":"py3-ujson","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/py3-ujson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-45958.json"}},{"package":{"name":"py3-ujson","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/py3-ujson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-45958.json"}},{"package":{"name":"py3-ujson","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/py3-ujson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-45958.json"}},{"package":{"name":"py3-ujson","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/py3-ujson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-45958.json"}},{"package":{"name":"py3-ujson","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/py3-ujson?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.2.0-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-45958.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}