Improper Handling of Syntactically Invalid Structure Affecting ruby-libs package, versions <0:1.8.7.352-13.el6


Severity

Recommended
critical

Based on CentOS security rating.

Threat Intelligence

EPSS
6.3% (94th 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-CENTOS6-RUBYLIBS-2091034
  • published26 Jul 2021
  • disclosed22 Nov 2013

Introduced: 22 Nov 2013

CVE-2013-4164  (opens in a new tab)
CWE-228  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Centos:6 ruby-libs to version 0:1.8.7.352-13.el6 or higher.

NVD Description

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

Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1 before 2.1.0 preview2, and trunk before revision 43780 allows context-dependent attackers to cause a denial of service (segmentation fault) and possibly execute arbitrary code via a string that is converted to a floating point value, as demonstrated using (1) the to_f method or (2) JSON.parse.

CVSS Scores

version 3.1