CVE-2021-45958

Summary

CVECVE-2021-45958
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-01-01 00:15:00 UTC
Updated2023-11-07 03:39:00 UTC
DescriptionUltraJSON (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 And Classification

Problem Types: CWE-787

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 9.0 All All All
Operating System Fedoraproject Fedora 35 All All All
Operating System Fedoraproject Fedora 36 All All All
Operating System Fedoraproject Fedora 37 All All All
Application Ultrajson Project Ultrajson All All All All
Application Ultrajson Project Ultrajson All All All All
Application Ultrajson Project Ultrajson All All All All

References

ReferenceSourceLinkTags
36009 - oss-fuzz - OSS-Fuzz: Fuzzing the planet - Monorail MISC bugs.chromium.org
[SECURITY] Fedora 36 Update: python-ujson-5.2.0-1.fc36 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 36 Update: python-fastapi-0.75.2-1.fc36 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] [DLA 2929-1] ujson security update MLIST lists.debian.org
[SECURITY] Fedora 35 Update: python-ujson-5.4.0-1.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
oss-fuzz-vulns/OSV-2021-955.yaml at main · google/oss-fuzz-vulns · GitHub MISC github.com
[SECURITY] Fedora 36 Update: python-fastapi-0.75.2-1.fc36 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 36 Update: python-fastapi-0.75.0-3.fc36 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Fix unchecked buffer overflows (CVE-2021-45958). by bwoodsend · Pull Request #504 · ultrajson/ultrajson · GitHub CONFIRM github.com
[SECURITY] Fedora 35 Update: python-ujson-5.4.0-1.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 36 Update: python-fastapi-0.75.0-3.fc36 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
CVE-2021-45958 from oss-fuzz report · Issue #502 · ultrajson/ultrajson · GitHub MISC github.com
[SECURITY] Fedora 36 Update: python-ujson-5.2.0-1.fc36 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
Segmentation fault with large indent · Issue #501 · ultrajson/ultrajson · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 179094 Debian Security Update for ujson (DLA 2929-1)
  • 182506 Debian Security Update for ujson (CVE-2021-45958)
  • 200109 Ubuntu Security Notification for UltraJSON Vulnerabilities (USN-6629-1)
  • 200110 Ubuntu Security Notification for UltraJSON Vulnerability (USN-6629-2)
  • 200117 Ubuntu Security Notification for UltraJSON Vulnerabilities (USN-6629-3)
  • 283003 Fedora Security Update for python (FEDORA-2022-33e816bc37)
  • 502348 Alpine Linux Security Update for py3-ujson
  • 753979 SUSE Enterprise Linux Security Update for python-ujson (SUSE-SU-2023:2134-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report