CVE-2021-45958
MEDIUMCVSS 5.5/10EPSS 1.56%
Last modified
CVE-2021-45958 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 1.56% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ultrajson Project | Ultrajson | < 5.2.0 |
| Debian | Debian Linux | 9.0 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
| Fedoraproject | Fedora | 37 |
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36009Exploit, Issue Tracking, Third Party Advisory
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/ujson/OSV-2021-955.yamlExploit, Third Party Advisory
- https://github.com/ultrajson/ultrajson/issues/501Exploit, Issue Tracking, Third Party Advisory
- https://github.com/ultrajson/ultrajson/issues/502#issuecomment-1031747284Issue Tracking, Patch, Third Party Advisory
- https://github.com/ultrajson/ultrajson/pull/504Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/02/msg00023.htmlMailing List, Third Party Advisory
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36009Exploit, Issue Tracking, Third Party Advisory
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/ujson/OSV-2021-955.yamlExploit, Third Party Advisory
- https://github.com/ultrajson/ultrajson/issues/501Exploit, Issue Tracking, Third Party Advisory
- https://github.com/ultrajson/ultrajson/issues/502#issuecomment-1031747284Issue Tracking, Patch, Third Party Advisory
- https://github.com/ultrajson/ultrajson/pull/504Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/02/msg00023.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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.
How severe is CVE-2021-45958?
CVE-2021-45958 has a CVSS score of 5.5/10 (MEDIUM severity). The EPSS model estimates a 1.56% probability of exploitation in the next 30 days.
How do I fix CVE-2021-45958?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2021-45958?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
