Security mailing lists by PureSourceCode

CVE-2013-4164

MEDIUM 6.8CVSS 2.0

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.

Published
23 Nov 2013
Last modified
16 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-119
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.8:*:*:*:*:*:*:*
= 1.8
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*
= 1.9
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*
= 1.9.1
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*
= 1.9.2
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*
= 1.9.3
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*
= 2.0.0
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:2.1:preview1:*:*:*:*:*:*
= 2.1

References

History

  • 25 Nov 2026 20:17 UTC · NVD: first stored (published 23 Nov 2013)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.