CVEvulnerability
CVE-2021-45958
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-01-01
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:N/A:P
- Weaknesses
- CWE-787
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.
Affected configurations
• ultrajson project ultrajson (< 5.2.0)
• debian debian linux 9.0
• fedoraproject fedora 35
• fedoraproject fedora 36
• fedoraproject fedora 37
Related
Weakness · CWE (1)
- CWE-787 Out-of-bounds Write weakness
References
- 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/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O6JUWQTJLA2CMG4CJN7DCUVSOXLZIIXL/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ULX35TSWLBBIMEH44MUORPXYYRZKEDC6/ lists.fedoraproject.org
- 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/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O6JUWQTJLA2CMG4CJN7DCUVSOXLZIIXL/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ULX35TSWLBBIMEH44MUORPXYYRZKEDC6/ lists.fedoraproject.org