{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2011-2686","published":"2011-08-05T21:55:04.467000Z","last_modified":"2026-06-16T23:31:47.733000Z","status":"Modified","cvss":{"version":"2.0","score":5.0,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-310"],"cpes":[{"criteria":"cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version_end_including":"1.8.7-334"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7:p22:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.8.7"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7:p71:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.8.7"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7:p72:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.8.7"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7-160:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.8.7-160"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7-173:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.8.7-173"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7-248:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.8.7-248"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7-249:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.8.7-249"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7-299:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.8.7-299"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7-302:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.8.7-302"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7-330:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.8.7-330"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7-p21:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.8.7-p21"}],"cpes_truncated":false,"vendors":["ruby-lang"],"products":["ruby-lang/ruby"],"epss":{"score":0.02582,"percentile":0.85978,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":45,"links":{"html_es":"/es/cve/CVE-2011-2686/","html_en":"/en/cve/CVE-2011-2686/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2011-2686","cve_org":"https://www.cve.org/CVERecord?id=CVE-2011-2686"},"untrusted":{"vendor_name":"Ruby-lang","product_name":"Ruby","desc_en":"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.","affected":[],"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.html","tags":["Patch"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.html","tags":["Patch"]},{"url":"http://redmine.ruby-lang.org/issues/show/4338","tags":[]},{"url":"http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=31713","tags":["Patch"]},{"url":"http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2011/07/11/1","tags":["Patch"]},{"url":"http://www.openwall.com/lists/oss-security/2011/07/12/14","tags":["Patch"]},{"url":"http://www.openwall.com/lists/oss-security/2011/07/20/1","tags":["Patch"]},{"url":"http://www.openwall.com/lists/oss-security/2011/07/20/16","tags":["Patch"]},{"url":"http://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/","tags":["Patch"]},{"url":"http://www.securityfocus.com/bid/49015","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=722415","tags":["Patch"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/69032","tags":[]}]}}