CVE-2013-4164
Reported by redhat · Published November 23, 2013
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ruby2.0 | Ubuntu:14.04:LTS | 2.0.0.343-1ubuntu1 |
| ruby1.9.1 | Ubuntu:14.04:LTS | 1.9.3.448-1ubuntu2 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| ruby-lang | ruby | |
| n/a | n/a | * |
Timeline
- Nov 22, 2013 CVE Published
- Nov 22, 2013 PoC Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch (4 in total, the first dated here)
- Mar 5, 2026 Security Advisory (11 in total, the first dated here)
- Oct 23, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2013-4164
vulnetix vdb fixes CVE-2013-4164
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2013-4164/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- APPLE-SA-2014-10-16-3 vendor-advisoryx_refsource_APPLE
- openSUSE-SU-2013:1835 vendor-advisoryx_refsource_SUSE
- USN-2035-1 vendor-advisoryx_refsource_UBUNTU
- APPLE-SA-2014-04-22-1 vendor-advisoryx_refsource_APPLE
- RHSA-2014:0215 vendor-advisoryx_refsource_REDHAT
- SUSE-SU-2013:1897 vendor-advisoryx_refsource_SUSE
- RHSA-2013:1763 vendor-advisoryx_refsource_REDHAT
- RHSA-2013:1764 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- 63873 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- RHSA-2013:1767 vendor-advisoryx_refsource_REDHAT
- RHSA-2014:0011 vendor-advisoryx_refsource_REDHAT
- openSUSE-SU-2013:1834 vendor-advisoryx_refsource_SUSE
- x_refsource_CONFIRM
- 100113 vdb-entryx_refsource_OSVDB
- DSA-2810 vendor-advisoryx_refsource_DEBIAN
- 57376 third-party-advisoryx_refsource_SECUNIA
- x_refsource_CONFIRM
…and 2 more