CVE-2021-45958
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
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.
Predictions
Exploit likelihood
20%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| sles | affected | | |
| debian | bookworm | fixed | 5.2.0-1 |
| debian | bullseye | affected | |
| debian | forky | fixed | 5.2.0-1 |
| debian | sid | fixed | 5.2.0-1 |
| debian | trixie | fixed | 5.2.0-1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-45958
- https://github.com/ultrajson/ultrajson/issues/501
- https://github.com/ultrajson/ultrajson/issues/502#issuecomment-1031747284
- https://github.com/ultrajson/ultrajson/pull/504
- https://github.com/ultrajson/ultrajson/pull/519
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36009
- https://github.com/advisories/GHSA-fh56-85cw-5pq6
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/ujson/OSV-2021-955.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/ujson/PYSEC-2022-25.yaml
- https://github.com/ultrajson/ultrajson
- https://lists.debian.org/debian-lts-announce/2022/02/msg00023.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CN7W3GOXALINKFUUE7ICQIC2EF5HNKUQ
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O6JUWQTJLA2CMG4CJN7DCUVSOXLZIIXL
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULX35TSWLBBIMEH44MUORPXYYRZKEDC6
- https://www.suse.com/security/cve/CVE-2021-45958.html
- https://security-tracker.debian.org/tracker/CVE-2021-45958
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.