CVEfocus › CVE database › CVE-2013-4164

CVE-2013-4164

EPSS 35.0% (higher than 98% of CVEs)Published 2013-11-23Updated 2024-08-06Assigner: redhat

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.

What to do

Likely to be exploited: EPSS gives a 35% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

11Fixed
17Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 14.04ruby1.9.1Fixed1.9.3.448-1ubuntu2UBUNTU-CVE-2013-4164
Ubuntu 14.04ruby2.0Fixed2.0.0.343-1ubuntu1UBUNTU-CVE-2013-4164
Red Hat Enterprise Linux 7rubyNot affected
Red Hat Enterprise Linux 7ruby-develNot affected
Red Hat Enterprise Linux 7ruby-docNot affected
Red Hat Enterprise Linux 7ruby-irbNot affected
Red Hat Enterprise Linux 7ruby-libsNot affected
Red Hat Enterprise Linux 7ruby-tcltkNot affected
Red Hat Enterprise Linux 7rubygem-bigdecimalNot affected
Red Hat Enterprise Linux 7rubygem-io-consoleNot affected
Red Hat Enterprise Linux 7rubygem-jsonNot affected
Red Hat Enterprise Linux 7rubygem-minitestNot affected
Red Hat Enterprise Linux 7rubygem-psychNot affected
Red Hat Enterprise Linux 7rubygem-rakeNot affected
Red Hat Enterprise Linux 7rubygem-rdocNot affected
Red Hat Enterprise Linux 7rubygemsNot affected
Red Hat Enterprise Linux 7rubygems-develNot affected
Red Hat Enterprise Linux 6rubyFixed0:1.8.7.352-13.el6RHSA-2013:1764
Red Hat Enterprise Linux 6ruby-develFixed0:1.8.7.352-13.el6RHSA-2013:1764
Red Hat Enterprise Linux 6ruby-docsFixed0:1.8.7.352-13.el6RHSA-2013:1764
Red Hat Enterprise Linux 6ruby-irbFixed0:1.8.7.352-13.el6RHSA-2013:1764
Red Hat Enterprise Linux 6ruby-libsFixed0:1.8.7.352-13.el6RHSA-2013:1764
Red Hat Enterprise Linux 6ruby-rdocFixed0:1.8.7.352-13.el6RHSA-2013:1764
Red Hat Enterprise Linux 6ruby-riFixed0:1.8.7.352-13.el6RHSA-2013:1764
Red Hat Enterprise Linux 6ruby-staticFixed0:1.8.7.352-13.el6RHSA-2013:1764
Red Hat Enterprise Linux 6ruby-tcltkFixed0:1.8.7.352-13.el6RHSA-2013:1764
Red Hat Enterprise Linux 5rubyNot affected
Red Hat Enterprise Linux 4rubyNot affected

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.