Improper Input Validation Affecting rubygem-yajl-ruby package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
3.77% (90th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-RUBYGEMYAJLRUBY-5241378
  • published26 Mar 2023
  • disclosed2 Nov 2017

Introduced: 2 Nov 2017

CVE-2017-16516  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 rubygem-yajl-ruby.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-yajl-ruby package and not the rubygem-yajl-ruby package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

In the yajl-ruby gem 1.3.0 for Ruby, 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.

CVSS Base Scores

version 3.1