National Cyber Awareness System
Vulnerability Summary for CVE-2011-2705
Original release date:08/05/2011
Last revised:01/19/2012
Source:
US-CERT/NIST
Overview
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.
Impact
CVSS Severity (version 2.0):
Impact Subscore:
2.9
Exploitability Subscore:
10.0
CVSS Version 2 Metrics:
Access Vector: Network exploitable
Access Complexity: Low
Authentication: Not required to exploit
Impact Type:Allows unauthorized disclosure of information
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.
External Source: CONFIRM
Name: https://bugzilla.redhat.com/show_bug.cgi?id=722415
Type: Patch Information
External Source: CONFIRM
Name: http://www.ruby-lang.org/en/news/2011/07/15/ruby-1-9-2-p290-is-released/
Type: Patch Information
External Source: CONFIRM
Name: http://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/
Type: Patch Information
External Source: MLIST
Name: [oss-security] 20110720 Re: CVE Request: ruby PRNG fixes
Type: Patch Information
External Source: MLIST
Name: [oss-security] 20110720 Re: CVE Request: ruby PRNG fixes
Type: Patch Information
External Source: MLIST
Name: [oss-security] 20110712 Re: CVE Request: ruby PRNG fixes
Type: Patch Information
External Source: MLIST
Name: [oss-security] 20110711 CVE Request: ruby PRNG fixes
Type: Patch Information
External Source: CONFIRM
Name: http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=32050
Type: Patch Information
External Source: FEDORA
Name: FEDORA-2011-9374
Type: Patch Information
External Source: BID
Name: 49015
External Source: REDHAT
Name: RHSA-2011:1581
External Source: CONFIRM
Name: http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_290/ChangeLog
External Source: CONFIRM
Name: http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog
External Source: CONFIRM
Name: http://redmine.ruby-lang.org/issues/4579
External Source: FEDORA
Name: FEDORA-2011-9359