Skip to main content

Out-of-bounds Write

CVE-2021-45958

Severity Medium
Score 5.5/10

Summary

UltraJSON (aka ujson) versions 1.34 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.

  • LOW
  • LOCAL
  • NONE
  • UNCHANGED
  • REQUIRED
  • NONE
  • NONE
  • HIGH

CWE-787 - Out-of-Bounds Write

Out-of-bounds write vulnerability is a memory access bug that allows software to write data past the end or before the beginning of the intended buffer. This may result in the corruption of data, a crash, or arbitrary code execution.

Advisory Timeline

  • Published