Skip to main content
← All vulnerabilities
CVE-2021-45958GHSA-FH56-85CW-5PQ6PYSEC-2022-25

UltraJSON (aka ujson) through 5.1.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode).

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.2.0, 5.1.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • ujsonPyPI

    From 1.34 · fixed in 5.2.0

  • ujsonPyPI

    From 4.0.2 · fixed in 5.1.0

References 10

GitHub · google/oss-fuzz-vulns

bugs.chromium.org

GitHub · ultrajson/ultrajson

lists.debian.org

lists.fedoraproject.org