6.8

CVE-2013-4164: ruby-lang ruby

Modified
AliasesMGASA-2014-0003RHSA-2013:1763RHSA-2013:1764
Published 23-11-2013Last modified 06-08-2024

Vulnerability summary

CVE-2013-4164 is a medium (CVSS 6.8) vulnerability in ruby-lang ruby. EPSS estimates a 34.97% chance of exploitation in the next 30 days, higher than 98.4% of scored vulnerabilities. 2 public exploits are recorded.

Priority
Prioritiseweaponized exploit

Weaponized exploit (Metasploit, 22-11-2013)

Source freshness unavailable

How is this decided?
CVSS score
6.8/10
010
Medium · v2.0 (NVD)
EPSS score
34.97%
0%100%
High · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits2reference, metasploit

Advisory lineage

Upstream 0 · Downstream 2

Timeline

  1. 23-11-2013
    PublishedVulnerability first disclosed.
  2. 06-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

Probability

34.97%

Chance of exploitation in the next 30 days

Percentile

98%

Versus all other CVEs

30-day change

No change 0.00 pp

From 34.97% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (ruby-lang.org)

    Maturity: unknown

  • MetasploitMetasploitremoteUnverified

    Ruby on Rails JSON Processor Floating Point Heap Overflow DoS

    auxiliary/dos/http/rails_json_float_dos

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication (CVSS vector). Other conditions: not stated in public data.

Redhat25 products
  • ruby< 0:1.8.7.352-13.el6 | < 0:1.8.7.352-13.el6_2 | < 0:1.8.7.352-13.el6_3 | < 0:1.8.7.352-13.el6_4
  • ruby-debuginfo< 0:1.8.7.352-13.el6 | < 0:1.8.7.352-13.el6_2 | < 0:1.8.7.352-13.el6_3 | < 0:1.8.7.352-13.el6_4
  • ruby-devel< 0:1.8.7.352-13.el6 | < 0:1.8.7.352-13.el6_3 | < 0:1.8.7.352-13.el6_4 | < 0:1.8.7.352-13.el6_2
  • ruby-docs< 0:1.8.7.352-13.el6 | < 0:1.8.7.352-13.el6_2 | < 0:1.8.7.352-13.el6_3 | < 0:1.8.7.352-13.el6_4
  • ruby-irb< 0:1.8.7.352-13.el6 | < 0:1.8.7.352-13.el6_2 | < 0:1.8.7.352-13.el6_3 | < 0:1.8.7.352-13.el6_4
Ubuntu2 products
  • ruby1.9.1< 1.9.3.448-1ubuntu2
  • ruby2.0< 2.0.0.343-1ubuntu1
Debian1 product
  • ruby1.9.1< 1.9.2.0-2+deb6u2 | < 1.9.3.194-8.1+deb7u2
Mageia1 product
  • ruby< 1.9.3.p484-1.mga3
Ruby-lang1 product
  • rubyEOL1.8 | 1.9 | 1.9.1 | 1.9.2 | 1.9.3 | 2.0.0 | 2.1:preview1

5 vendors · 30 products

References

42 links
Show all 42 references