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.

Risk Information

Base Score
5.5
MODERATE
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS Score
Exploitation Probability
0.287

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2021-45958 are fixed in Python-ujson 5.2.0Windows
SUSE-SU-2023:2134-1(Development Tools Module 15-SP4 ) python-ujson-debuginfo-1.35-150100.3.8.1.x86_64.rpmLinux
SUSE-SU-2023:2134-1(Development Tools Module 15-SP4 ) python-ujson-debugsource-1.35-150100.3.8.1.x86_64.rpmLinux
SUSE-SU-2023:2134-1(Development Tools Module 15-SP4 ) python3-ujson-1.35-150100.3.8.1.x86_64.rpmLinux
SUSE-SU-2023:2134-1(Development Tools Module 15-SP4 ) python3-ujson-debuginfo-1.35-150100.3.8.1.x86_64.rpmLinux
ultra fast JSON encoder and decoder for Python 3 (USN-6629-2) python3-ujson_1.35-4ubuntu0.1_amd64.debLinux
Vulnerabilities CVE-2021-45958 are fixed in Python-ujson for linux 5.2.0Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234