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
- Ultrajson_project Ultrajson
- Debian Debian_linux — versions 9.0
- Fedoraproject Fedora — versions 35, 36, 37
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC, Issue Tracking)
- cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
- cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC, Issue Tracking)
- cve@mitre.org (x_refsource_CONFIRM, Patch, Third Party Advisory)
- cve@mitre.org (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
- cve@mitre.org (x_refsource_FEDORA, vendor-advisory)
- cve@mitre.org (x_refsource_FEDORA, vendor-advisory)
- cve@mitre.org (x_refsource_FEDORA, vendor-advisory)
- cve@mitre.org (x_refsource_FEDORA, vendor-advisory)
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.