Buffer overflow in Ultrajson_project Ultrajson

CVE-2021-45958

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.

Vulnerability class: Buffer Overflow

EPSS: 0.015 (72.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-45958?
CVE-2021-45958 is a medium-severity vulnerability in Ultrajson_project Ultrajson, classified under Out-of-bounds Write. CVSS score: 5.5/10. Published 2022-01-01.
How severe is CVE-2021-45958?
Medium severity. CVSS v3 base score is 5.5 out of 10.