CVE-2011-2686
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.
Key facts
- CVSS score
- 5.0 (v2.0)
- Severity
- MEDIUM
- CVSS vector
AV:N/AC:L/Au:N/C:P/I:N/A:N- Weakness (CWE)
- CWE-310
- EPSS score
- 2.6% (85th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2011-2668)
- Published
- August 5, 2011
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2011-2668 in the EU Vulnerability Database. Last updated in EUVD on August 6, 2024.
View on the EU Vulnerability DatabaseAffected products
- ruby-lang / ruby
- ruby-lang / ruby
- ruby-lang / ruby
- ruby-lang / ruby
- ruby-lang / ruby
- ruby-lang / ruby
- ruby-lang / ruby
- ruby-lang / ruby
- ruby-lang / ruby
- ruby-lang / ruby
- ruby-lang / ruby
- ruby-lang / ruby
References
- http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.html(Patch)
- http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.html(Patch)
- http://redmine.ruby-lang.org/issues/show/4338
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=31713(Patch)
- http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog
- http://www.openwall.com/lists/oss-security/2011/07/11/1(Patch)
- http://www.openwall.com/lists/oss-security/2011/07/12/14(Patch)
- http://www.openwall.com/lists/oss-security/2011/07/20/1(Patch)
- http://www.openwall.com/lists/oss-security/2011/07/20/16(Patch)
- http://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/(Patch)
- http://www.securityfocus.com/bid/49015
- https://bugzilla.redhat.com/show_bug.cgi?id=722415(Patch)
- https://exchange.xforce.ibmcloud.com/vulnerabilities/69032
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain