{"id":"CVE-2011-2705","state":"PUBLISHED","title":"The SecureRandom.random_bytes function in lib/securerandom.rb in Ruby before 1.8.7-p352 and 1.9.x before 1.9.2-p290 relies on PID values for initialization, which makes it easier f","description":"The SecureRandom.random_bytes function in lib/securerandom.rb in Ruby before 1.8.7-p352 and 1.9.x before 1.9.2-p290 relies on PID values for initialization, which makes it easier for context-dependent attackers to predict the result string by leveraging knowledge of random strings obtained in an earlier process with the same PID.","publishedAt":"2011-08-05T21:00:00.000Z","updatedAt":"2024-08-06T23:08:23.972Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.openwall.com/lists/oss-security/2011/07/12/14","http://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/","https://bugzilla.redhat.com/show_bug.cgi?id=722415","http://www.openwall.com/lists/oss-security/2011/07/20/16","http://www.redhat.com/support/errata/RHSA-2011-1581.html","http://www.ruby-lang.org/en/news/2011/07/15/ruby-1-9-2-p290-is-released/","http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=32050","http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog","http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.html","http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_290/ChangeLog","http://www.openwall.com/lists/oss-security/2011/07/20/1","http://redmine.ruby-lang.org/issues/4579","http://www.openwall.com/lists/oss-security/2011/07/11/1","http://www.securityfocus.com/bid/49015","http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:39:59.387Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2011/2xxx/CVE-2011-2705.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2011-2705","state":"PUBLISHED","datePublished":"2011-08-05T21:00:00.000Z","dateUpdated":"2024-08-06T23:08:23.972Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2011-07-11T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"The SecureRandom.random_bytes function in lib/securerandom.rb in Ruby before 1.8.7-p352 and 1.9.x before 1.9.2-p290 relies on PID values for initialization, which makes it easier for context-dependent attackers to predict the result string by leveraging knowledge of random strings obtained in an earlier process with the same PID."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2011/07/12/14","name":"[oss-security] 20110712 Re: CVE Request: ruby PRNG fixes","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/","tags":["x_refsource_CONFIRM"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=722415","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2011/07/20/16","name":"[oss-security] 20110720 Re: CVE Request: ruby PRNG fixes","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1581.html","name":"RHSA-2011:1581","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.ruby-lang.org/en/news/2011/07/15/ruby-1-9-2-p290-is-released/","tags":["x_refsource_CONFIRM"]},{"url":"http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=32050","tags":["x_refsource_CONFIRM"]},{"url":"http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.html","name":"FEDORA-2011-9374","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_290/ChangeLog","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2011/07/20/1","name":"[oss-security] 20110720 Re: CVE Request: ruby PRNG fixes","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://redmine.ruby-lang.org/issues/4579","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2011/07/11/1","name":"[oss-security] 20110711 CVE Request: ruby PRNG fixes","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.securityfocus.com/bid/49015","name":"49015","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.html","name":"FEDORA-2011-9359","tags":["vendor-advisory","x_refsource_FEDORA"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2012-01-19T10:00:00.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2011-07-11T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2011/07/12/14","name":"[oss-security] 20110712 Re: CVE Request: ruby PRNG fixes","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=722415","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2011/07/20/16","name":"[oss-security] 20110720 Re: CVE Request: ruby PRNG fixes","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2011-1581.html","name":"RHSA-2011:1581","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.ruby-lang.org/en/news/2011/07/15/ruby-1-9-2-p290-is-released/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=32050","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.html","name":"FEDORA-2011-9374","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_290/ChangeLog","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2011/07/20/1","name":"[oss-security] 20110720 Re: CVE Request: ruby PRNG fixes","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://redmine.ruby-lang.org/issues/4579","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2011/07/11/1","name":"[oss-security] 20110711 CVE Request: ruby PRNG fixes","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://www.securityfocus.com/bid/49015","name":"49015","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.html","name":"FEDORA-2011-9359","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T23:08:23.972Z"}}]}}}