Incorrect Conversion between Numeric Types Affecting ruby193-ruby package, versions *


Severity

Recommended
critical

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
34.97% (99th 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-RHEL10-RUBY193RUBY-9853933
  • published28 Apr 2025
  • disclosed22 Nov 2013

Introduced: 22 Nov 2013

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

How to fix?

There is no fixed version for RHEL:10 ruby193-ruby.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby193-ruby package and not the ruby193-ruby package as distributed by RHEL. See How to fix? for RHEL:10 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 Base Scores

version 3.1