#VU61917 Stack-based buffer overflow in ultrajson


Published: 2022-04-06

Vulnerability identifier: #VU61917

Vulnerability risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-45958

CWE-ID: CWE-121

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
ultrajson
Other software / Other software solutions

Vendor: ultrajson

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error in Buffer_AppendIndentUnchecked. A remote unauthenticated attacker can trigger stack-based buffer overflow and cause a denial of service condition on the target system.

Mitigation
Install update from vendor's website.

Vulnerable software versions

ultrajson: 5.0.0 - 5.1.0


External links
http://github.com/google/oss-fuzz-vulns/blob/main/vulns/ujson/OSV-2021-955.yaml
http://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36009
http://github.com/ultrajson/ultrajson/issues/501
http://github.com/ultrajson/ultrajson/issues/502#issuecomment-1031747284
http://github.com/ultrajson/ultrajson/pull/504
http://lists.debian.org/debian-lts-announce/2022/02/msg00023.html
http://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CN7W3GOXALINKFUUE7ICQIC2EF5HNKUQ/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability