Skip to main content

Use of Externally-Controlled Format String

CVE-2017-16516

Severity High
Score 7.5/10

Summary

In the yajl-ruby ruby gem versions through 1.2.2 and version 1.3.0, when a crafted JSON file is supplied to "Yajl::Parser.new.parse", 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
  • NETWORK
  • NONE
  • UNCHANGED
  • 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