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.
References
Link Resource
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36009 Exploit Issue Tracking Third Party Advisory
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/ujson/OSV-2021-955.yaml Exploit Third Party Advisory
https://github.com/ultrajson/ultrajson/issues/501 Exploit Issue Tracking Third Party Advisory
https://github.com/ultrajson/ultrajson/issues/502#issuecomment-1031747284 Issue Tracking Patch Third Party Advisory
https://github.com/ultrajson/ultrajson/pull/504 Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/02/msg00023.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CN7W3GOXALINKFUUE7ICQIC2EF5HNKUQ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O6JUWQTJLA2CMG4CJN7DCUVSOXLZIIXL/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ULX35TSWLBBIMEH44MUORPXYYRZKEDC6/
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36009 Exploit Issue Tracking Third Party Advisory
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/ujson/OSV-2021-955.yaml Exploit Third Party Advisory
https://github.com/ultrajson/ultrajson/issues/501 Exploit Issue Tracking Third Party Advisory
https://github.com/ultrajson/ultrajson/issues/502#issuecomment-1031747284 Issue Tracking Patch Third Party Advisory
https://github.com/ultrajson/ultrajson/pull/504 Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/02/msg00023.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CN7W3GOXALINKFUUE7ICQIC2EF5HNKUQ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O6JUWQTJLA2CMG4CJN7DCUVSOXLZIIXL/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ULX35TSWLBBIMEH44MUORPXYYRZKEDC6/
Configurations

Configuration 1 (hide)

cpe:2.3:a:ultrajson_project:ultrajson:*:*:*:*:*:python:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*

History

No history.

Information

Published : 2022-01-01 00:15

Updated : 2024-11-21 06:33


NVD link : CVE-2021-45958

Mitre link : CVE-2021-45958

CVE.ORG link : CVE-2021-45958


JSON object : View

Products Affected

debian

  • debian_linux

ultrajson_project

  • ultrajson

fedoraproject

  • fedora
CWE
CWE-787

Out-of-bounds Write