Skip to main content

Use of Externally-Controlled Format String


Severity High
Score 7.5/10


In the yajl-ruby ruby gem versions through 1.2.2 and version 1.3.0, when a crafted JSON file is supplied to "", the whole ruby process crashes with a "SIGABRT" in the "yajl_string_decode" function in "yajl_encode.c". This results in the whole ruby process terminating and potentially a denial of service.

  • LOW
  • NONE
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-134 - Use of Externally-Controlled Format String

The software uses a function that accepts a format string as an argument, but the format string originates from an external source.

Advisory Timeline

  • Published