CVE-2021-45958
Ultrajson Project Ultrajson vulnerability
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 products
Ultrajson, Debian Linux, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ultrajson Project Ultrajson runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/ultrajson/ultrajson/issues/502#issuecomment-1031747284 · Patch
- github.com/ultrajson/ultrajson/pull/504 · Patch
- bugs.chromium.org/p/oss-fuzz/issues/detail?id=36009 · Exploit
- github.com/google/oss-fuzz-vulns/blob/main/vulns/ujson/OSV-2021-955.yaml · Exploit
- github.com/ultrajson/ultrajson/issues/501 · Exploit
- lists.debian.org/debian-lts-announce/2022/02/msg00023.html · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N
- nvd.nist.gov/vuln/detail/CVE-2021-45958
- cve.org/CVERecord?id=CVE-2021-45958
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.