Vulnerability database / CVE-2011-2686
CVE-2011-2686
MEDIUM 5.0 CVSS 2.0 Ruby before 1.8.7-p352 does not reset the random seed upon forking, which makes it easier for context-dependent attackers to predict the values of random numbers by leveraging knowledge of the number sequence obtained in a different child process, a related issue to CVE-2003-0900. NOTE: this issue exists because of a regression during Ruby 1.8.6 development.
Published 5 Aug 2011
Last modified 16 Jun 2026 Assigned by secalert@redhat.com NVD status Modified Weakness
CWE-310 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 5.0
AV:N/AC:L/Au:N/C:P/I:N/A:N
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
ruby-lang
rubycpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
<= 1.8.7-334
NVD
ruby-lang
rubycpe:2.3:a:ruby-lang:ruby:1.8.7:p22:*:*:*:*:*:*
= 1.8.7
NVD
ruby-lang
rubycpe:2.3:a:ruby-lang:ruby:1.8.7:p71:*:*:*:*:*:*
= 1.8.7
NVD
ruby-lang
rubycpe:2.3:a:ruby-lang:ruby:1.8.7:p72:*:*:*:*:*:*
= 1.8.7
NVD
ruby-lang
rubycpe:2.3:a:ruby-lang:ruby:1.8.7-160:*:*:*:*:*:*:*
= 1.8.7-160
NVD
ruby-lang
rubycpe:2.3:a:ruby-lang:ruby:1.8.7-173:*:*:*:*:*:*:*
= 1.8.7-173
NVD
ruby-lang
rubycpe:2.3:a:ruby-lang:ruby:1.8.7-248:*:*:*:*:*:*:*
= 1.8.7-248
NVD
ruby-lang
rubycpe:2.3:a:ruby-lang:ruby:1.8.7-249:*:*:*:*:*:*:*
= 1.8.7-249
NVD
ruby-lang
rubycpe:2.3:a:ruby-lang:ruby:1.8.7-299:*:*:*:*:*:*:*
= 1.8.7-299
NVD
ruby-lang
rubycpe:2.3:a:ruby-lang:ruby:1.8.7-302:*:*:*:*:*:*:*
= 1.8.7-302
NVD
ruby-lang
rubycpe:2.3:a:ruby-lang:ruby:1.8.7-330:*:*:*:*:*:*:*
= 1.8.7-330
NVD
ruby-lang
rubycpe:2.3:a:ruby-lang:ruby:1.8.7-p21:*:*:*:*:*:*:*
= 1.8.7-p21
References
History
25 Nov 2026 20:16 UTC · NVD: first stored (published 5 Aug 2011)