← All CVEs

CVE-2013-4164

medium · 6.8

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.

6.8
CVSS
35.0%
EPSS (exploit prob.)
98th
EPSS percentile
2013-11-23
Published

AV:N/AC:M/Au:N/C:P/I:P/A:P

Weaknesses

CWE-119

Affected products

VendorProductAffected versions
ruby-langruby1.8
ruby-langruby1.9
ruby-langruby1.9.1
ruby-langruby1.9.2
ruby-langruby1.9.3
ruby-langruby2.0.0
ruby-langruby2.1

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2013-4164