gsd-2011-2705
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
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.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2011-2705", "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.", "id": "GSD-2011-2705", "references": [ "https://www.suse.com/security/cve/CVE-2011-2705.html", "https://access.redhat.com/errata/RHSA-2011:1581", "https://linux.oracle.com/cve/CVE-2011-2705.html" ] }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2011-2705" ], "details": "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.", "id": "GSD-2011-2705", "modified": "2023-12-13T01:19:07.369717Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "secalert@redhat.com", "ID": "CVE-2011-2705", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "n/a", "version": { "version_data": [ { "version_affected": "=", "version_value": "n/a" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "name": "http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.html", "refsource": "MISC", "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.html" }, { "name": "http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.html", "refsource": "MISC", "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.html" }, { "name": "http://redmine.ruby-lang.org/issues/4579", "refsource": "MISC", "url": "http://redmine.ruby-lang.org/issues/4579" }, { "name": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision\u0026revision=32050", "refsource": "MISC", "url": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision\u0026revision=32050" }, { "name": "http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog", "refsource": "MISC", "url": "http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog" }, { "name": "http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_290/ChangeLog", "refsource": "MISC", "url": "http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_290/ChangeLog" }, { "name": "http://www.openwall.com/lists/oss-security/2011/07/11/1", "refsource": "MISC", "url": "http://www.openwall.com/lists/oss-security/2011/07/11/1" }, { "name": "http://www.openwall.com/lists/oss-security/2011/07/12/14", "refsource": "MISC", "url": "http://www.openwall.com/lists/oss-security/2011/07/12/14" }, { "name": "http://www.openwall.com/lists/oss-security/2011/07/20/1", "refsource": "MISC", "url": "http://www.openwall.com/lists/oss-security/2011/07/20/1" }, { "name": "http://www.openwall.com/lists/oss-security/2011/07/20/16", "refsource": "MISC", "url": "http://www.openwall.com/lists/oss-security/2011/07/20/16" }, { "name": "http://www.redhat.com/support/errata/RHSA-2011-1581.html", "refsource": "MISC", "url": "http://www.redhat.com/support/errata/RHSA-2011-1581.html" }, { "name": "http://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/", "refsource": "MISC", "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/15/ruby-1-9-2-p290-is-released/", "refsource": "MISC", "url": "http://www.ruby-lang.org/en/news/2011/07/15/ruby-1-9-2-p290-is-released/" }, { "name": "http://www.securityfocus.com/bid/49015", "refsource": "MISC", "url": "http://www.securityfocus.com/bid/49015" }, { "name": "https://bugzilla.redhat.com/show_bug.cgi?id=722415", "refsource": "MISC", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=722415" } ] } }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p22:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndIncluding": "1.8.7-334", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.8.7-p21:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p71:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p72:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.8.7-173:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.8.7-160:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.8.7-330:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.8.7-249:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.8.7-248:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.8.7-302:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.8.7-299:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" }, { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_2:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.1:-p429:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.0:r18423:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.0-2:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.0:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.1:-p0:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.1:-p243:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.0-20070709:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.0-1:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.2:dev:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.2-p180:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9:r18423:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc2:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc1:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.0-0:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.2-p136:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_1:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.1:-p129:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.0-20060415:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:1.9.1:-p376:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "secalert@redhat.com", "ID": "CVE-2011-2705" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-20" } ] } ] }, "references": { "reference_data": [ { "name": "https://bugzilla.redhat.com/show_bug.cgi?id=722415", "refsource": "CONFIRM", "tags": [ "Patch" ], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=722415" }, { "name": "[oss-security] 20110720 Re: CVE Request: ruby PRNG fixes", "refsource": "MLIST", "tags": [ "Patch" ], "url": "http://www.openwall.com/lists/oss-security/2011/07/20/16" }, { "name": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision\u0026revision=32050", "refsource": "CONFIRM", "tags": [ "Patch" ], "url": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision\u0026revision=32050" }, { "name": "http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog", "refsource": "CONFIRM", "tags": [], "url": "http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog" }, { "name": "http://www.ruby-lang.org/en/news/2011/07/15/ruby-1-9-2-p290-is-released/", "refsource": "CONFIRM", "tags": [ "Patch" ], "url": "http://www.ruby-lang.org/en/news/2011/07/15/ruby-1-9-2-p290-is-released/" }, { "name": "http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_290/ChangeLog", "refsource": "CONFIRM", "tags": [], "url": "http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_290/ChangeLog" }, { "name": "FEDORA-2011-9374", "refsource": "FEDORA", "tags": [ "Patch" ], "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.html" }, { "name": "49015", "refsource": "BID", "tags": [], "url": "http://www.securityfocus.com/bid/49015" }, { "name": "http://redmine.ruby-lang.org/issues/4579", "refsource": "CONFIRM", "tags": [], "url": "http://redmine.ruby-lang.org/issues/4579" }, { "name": "[oss-security] 20110711 CVE Request: ruby PRNG fixes", "refsource": "MLIST", "tags": [ "Patch" ], "url": "http://www.openwall.com/lists/oss-security/2011/07/11/1" }, { "name": "FEDORA-2011-9359", "refsource": "FEDORA", "tags": [], "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.html" }, { "name": "http://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/", "refsource": "CONFIRM", "tags": [ "Patch" ], "url": "http://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/" }, { "name": "[oss-security] 20110712 Re: CVE Request: ruby PRNG fixes", "refsource": "MLIST", "tags": [ "Patch" ], "url": "http://www.openwall.com/lists/oss-security/2011/07/12/14" }, { "name": "[oss-security] 20110720 Re: CVE Request: ruby PRNG fixes", "refsource": "MLIST", "tags": [ "Patch" ], "url": "http://www.openwall.com/lists/oss-security/2011/07/20/1" }, { "name": "RHSA-2011:1581", "refsource": "REDHAT", "tags": [], "url": "http://www.redhat.com/support/errata/RHSA-2011-1581.html" } ] } }, "impact": { "baseMetricV2": { "cvssV2": { "accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "NONE", "baseScore": 5.0, "confidentialityImpact": "PARTIAL", "integrityImpact": "NONE", "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N", "version": "2.0" }, "exploitabilityScore": 10.0, "impactScore": 2.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": false } }, "lastModifiedDate": "2012-01-19T03:58Z", "publishedDate": "2011-08-05T21:55Z" } } }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.