Security mailing lists by PureSourceCode

CVE-2011-2686

MEDIUM 5.0CVSS 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
NVDJSON

Scores

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
<= 1.8.7-334
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.8.7:p22:*:*:*:*:*:*
= 1.8.7
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.8.7:p71:*:*:*:*:*:*
= 1.8.7
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.8.7:p72:*:*:*:*:*:*
= 1.8.7
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.8.7-160:*:*:*:*:*:*:*
= 1.8.7-160
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.8.7-173:*:*:*:*:*:*:*
= 1.8.7-173
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.8.7-248:*:*:*:*:*:*:*
= 1.8.7-248
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.8.7-249:*:*:*:*:*:*:*
= 1.8.7-249
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.8.7-299:*:*:*:*:*:*:*
= 1.8.7-299
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.8.7-302:*:*:*:*:*:*:*
= 1.8.7-302
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.8.7-330:*:*:*:*:*:*:*
= 1.8.7-330
NVD ruby-lang ruby
cpe: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)
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.