CVE-2021-45958: UltraJSON vulnerable to Out-of-bounds Write
(updated )
UltraJSON (aka ujson) 1.34 through 5.1.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode).
References
- bugs.chromium.org/p/oss-fuzz/issues/detail?id=36009
- github.com/advisories/GHSA-fh56-85cw-5pq6
- github.com/google/oss-fuzz-vulns/blob/main/vulns/ujson/OSV-2021-955.yaml
- github.com/pypa/advisory-database/tree/main/vulns/ujson/PYSEC-2022-25.yaml
- github.com/ultrajson/ultrajson
- github.com/ultrajson/ultrajson/issues/501
- github.com/ultrajson/ultrajson/issues/502
- github.com/ultrajson/ultrajson/pull/504
- github.com/ultrajson/ultrajson/pull/519
- lists.debian.org/debian-lts-announce/2022/02/msg00023.html
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CN7W3GOXALINKFUUE7ICQIC2EF5HNKUQ
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O6JUWQTJLA2CMG4CJN7DCUVSOXLZIIXL
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULX35TSWLBBIMEH44MUORPXYYRZKEDC6
- nvd.nist.gov/vuln/detail/CVE-2021-45958
Code Behaviors & Features
Detect and mitigate CVE-2021-45958 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →