{"api_version":"1","generated_at":"2026-07-23T04:25:40+00:00","cve":"CVE-2011-2686","urls":{"html":"https://cve.report/CVE-2011-2686","api":"https://cve.report/api/cve/CVE-2011-2686.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2011-2686","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2011-2686"},"summary":{"title":"CVE-2011-2686","description":"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.","state":"PUBLISHED","assigner":"redhat","published_at":"2011-08-05 21:55:04","updated_at":"2026-04-29 01:13:23"},"problem_types":["CWE-310","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"}}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2011/07/11/1","name":"http://www.openwall.com/lists/oss-security/2011/07/11/1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"oss-security - CVE Request: ruby PRNG fixes","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=31713","name":"http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=31713","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"[ruby] Revision 31713","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog","name":"http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"403"},{"url":"http://www.openwall.com/lists/oss-security/2011/07/20/1","name":"http://www.openwall.com/lists/oss-security/2011/07/20/1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"oss-security - Re: CVE Request: ruby PRNG fixes","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2011/07/12/14","name":"http://www.openwall.com/lists/oss-security/2011/07/12/14","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"oss-security - Re: CVE Request: ruby PRNG fixes","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/","name":"http://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"Ruby 1.8.7-p352 released","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2011/07/20/16","name":"http://www.openwall.com/lists/oss-security/2011/07/20/16","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"oss-security - Re: CVE Request: ruby PRNG fixes","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/69032","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/69032","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"[SECURITY] Fedora 15 Update: ruby-1.8.7.352-1.fc15","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/49015","name":"http://www.securityfocus.com/bid/49015","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Ruby Random Number Generation Local Denial Of Service Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=722415","name":"https://bugzilla.redhat.com/show_bug.cgi?id=722415","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"722415 – (CVE-2011-2686, CVE-2011-2705, CVE-2011-3009) CVE-2011-2686 CVE-2011-2705 CVE-2011-3009 ruby: Properly initialize the random number generator when forking new process","mime":"text/html","httpstatus":"200","archivestatus":"503"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"[SECURITY] Fedora 14 Update: ruby-1.8.7.352-1.fc14","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://redmine.ruby-lang.org/issues/show/4338","name":"http://redmine.ruby-lang.org/issues/show/4338","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Redmine 404 error","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2011-2686","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-2686","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2011","cve_id":"2686","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"1.8.7","cpe7":"p22","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"2686","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"1.8.7","cpe7":"p71","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"2686","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"1.8.7","cpe7":"p72","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"2686","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"1.8.7-160","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"2686","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"1.8.7-173","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"2686","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"1.8.7-248","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"2686","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"1.8.7-249","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"2686","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"1.8.7-299","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"2686","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"1.8.7-302","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"2686","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"1.8.7-330","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"2686","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"1.8.7-p21","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2011","cve_id":"2686","vulnerable":"1","versionEndIncluding":"1.8.7-334","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T23:08:23.714Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"[oss-security] 20110712 Re: CVE Request: ruby PRNG fixes","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2011/07/12/14"},{"tags":["x_refsource_CONFIRM","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"},{"name":"[oss-security] 20110720 Re: CVE Request: ruby PRNG fixes","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2011/07/20/16"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://redmine.ruby-lang.org/issues/show/4338"},{"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://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=31713"},{"name":"FEDORA-2011-9374","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.html"},{"name":"ruby-random-number-dos(69032)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/69032"},{"name":"[oss-security] 20110720 Re: CVE Request: ruby PRNG fixes","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2011/07/20/1"},{"name":"[oss-security] 20110711 CVE Request: ruby PRNG fixes","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2011/07/11/1"},{"name":"49015","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/49015"},{"name":"FEDORA-2011-9359","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2011-07-11T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-28T12:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"name":"[oss-security] 20110712 Re: CVE Request: ruby PRNG fixes","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2011/07/12/14"},{"tags":["x_refsource_CONFIRM"],"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"},{"name":"[oss-security] 20110720 Re: CVE Request: ruby PRNG fixes","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2011/07/20/16"},{"tags":["x_refsource_CONFIRM"],"url":"http://redmine.ruby-lang.org/issues/show/4338"},{"tags":["x_refsource_CONFIRM"],"url":"http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog"},{"tags":["x_refsource_CONFIRM"],"url":"http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=31713"},{"name":"FEDORA-2011-9374","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.html"},{"name":"ruby-random-number-dos(69032)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/69032"},{"name":"[oss-security] 20110720 Re: CVE Request: ruby PRNG fixes","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2011/07/20/1"},{"name":"[oss-security] 20110711 CVE Request: ruby PRNG fixes","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2011/07/11/1"},{"name":"49015","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/49015"},{"name":"FEDORA-2011-9359","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.html"}]}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2011-2686","datePublished":"2011-08-05T21:00:00.000Z","dateReserved":"2011-07-11T00:00:00.000Z","dateUpdated":"2024-08-06T23:08:23.714Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2011-08-05 21:55:04","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["CWE-310","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","baseScore":5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*","versionEndIncluding":"1.8.7-334","matchCriteriaId":"2C145137-6CD4-4E6D-B17E-F21F88E272BF"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7:p22:*:*:*:*:*:*","matchCriteriaId":"1FE05F3A-A8B5-45EE-BF52-D55E2768F890"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7:p71:*:*:*:*:*:*","matchCriteriaId":"0C6D66E2-3E10-4DEA-9E6B-53A5DE78AFCF"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7:p72:*:*:*:*:*:*","matchCriteriaId":"17AA24B4-30C7-4D46-A55C-A5CC7C446436"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7-160:*:*:*:*:*:*:*","matchCriteriaId":"DD10E326-6907-47DB-B2F1-D09EF2E7EBD8"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7-173:*:*:*:*:*:*:*","matchCriteriaId":"55A7F5F2-3F5D-441B-9756-8540BDCB3356"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7-248:*:*:*:*:*:*:*","matchCriteriaId":"4FE44E5F-8ECA-4325-9454-12682D84F430"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7-249:*:*:*:*:*:*:*","matchCriteriaId":"81D68A0E-2809-4A02-BEEA-B37719AC23DC"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7-299:*:*:*:*:*:*:*","matchCriteriaId":"324BD6C5-27BE-4678-846D-90433FD6AD0A"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7-302:*:*:*:*:*:*:*","matchCriteriaId":"6AA691FE-2BBF-4407-A52B-8CCAA07E0BC1"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7-330:*:*:*:*:*:*:*","matchCriteriaId":"3684A343-ABD7-4B80-993C-1F3CC0F983DF"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.8.7-p21:*:*:*:*:*:*:*","matchCriteriaId":"D1797BB1-935E-45F0-A803-A985E5659236"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2011","CveId":"2686","Ordinal":"1","Title":"CVE-2011-2686","CVE":"CVE-2011-2686","Year":"2011"},"notes":[{"CveYear":"2011","CveId":"2686","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2011-2686"},{"CveYear":"2011","CveId":"2686","Ordinal":"2","NoteData":"2011-08-05","Type":"Other","Title":"Published"},{"CveYear":"2011","CveId":"2686","Ordinal":"3","NoteData":"2017-08-28","Type":"Other","Title":"Modified"}]}}}