CVEvulnerability

CVE-2013-4164

6.8 MEDIUM Published 2013-11-23 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2013-11-23
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
CWE-119

Description

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.

Affected configurations

• ruby-lang ruby 1.8 • ruby-lang ruby 1.9 • ruby-lang ruby 1.9.1 • ruby-lang ruby 1.9.2 • ruby-lang ruby 1.9.3 • ruby-lang ruby 2.0.0 • ruby-lang ruby 2.1

Related

Weakness · CWE (1)

  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer weakness

References