CVE-2021-45958Out-of-bounds Write in Project Ultrajson

CWE-787Out-of-bounds Write11 documents5 sources
Severity
5.5MEDIUMNVD
EPSS
0.3%
top 47.90%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJan 1
Latest updateFeb 14

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages2 packages

debiandebian/ujson< ujson 5.2.0-1 (bookworm)

Also affects: Debian Linux 9.0, Fedora 35, 36, 37

Patches

🔴Vulnerability Details

6
OSV
ujson vulnerability2024-02-14
OSV
ujson vulnerabilities2024-02-14
OSV
ujson vulnerabilities2024-02-14
GHSA
UltraJSON vulnerable to Out-of-bounds Write2022-01-21
OSV
UltraJSON vulnerable to Out-of-bounds Write2022-01-21

📋Vendor Advisories

4
Ubuntu
UltraJSON vulnerabilities2024-02-14
Ubuntu
UltraJSON vulnerability2024-02-14
Ubuntu
UltraJSON vulnerabilities2024-02-14
Debian
CVE-2021-45958: ujson - UltraJSON (aka ujson) through 5.1.0 has a stack-based buffer overflow in Buffer_...2021
CVE-2021-45958 — Out-of-bounds Write | cvebase