National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2011-2705 Detail

Current 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.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: N/A
NVD score not yet provided.

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.

Hyperlink Resource
http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063062.html Patch
http://lists.fedoraproject.org/pipermail/package-announce/2011-July/063071.html
http://redmine.ruby-lang.org/issues/4579
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=32050 Patch
http://svn.ruby-lang.org/repos/ruby/tags/v1_8_7_352/ChangeLog
http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_290/ChangeLog
http://www.openwall.com/lists/oss-security/2011/07/11/1 Patch
http://www.openwall.com/lists/oss-security/2011/07/12/14 Patch
http://www.openwall.com/lists/oss-security/2011/07/20/1 Patch
http://www.openwall.com/lists/oss-security/2011/07/20/16 Patch
http://www.redhat.com/support/errata/RHSA-2011-1581.html
http://www.ruby-lang.org/en/news/2011/07/02/ruby-1-8-7-p352-released/ Patch
http://www.ruby-lang.org/en/news/2011/07/15/ruby-1-9-2-p290-is-released/ Patch
http://www.securityfocus.com/bid/49015
https://bugzilla.redhat.com/show_bug.cgi?id=722415 Patch

Weakness Enumeration

CWE-ID CWE Name Source
CWE-20 Improper Input Validation NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:ruby-lang:ruby:1.8.7:p22:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.8.7:p71:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.8.7:p72:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.8.7-160:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.8.7-173:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.8.7-248:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.8.7-249:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.8.7-299:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.8.7-302:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.8.7-330:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
1.8.7-334
 cpe:2.3:a:ruby-lang:ruby:1.8.7-p21:*:*:*:*:*:*:*
     Show Matching CPE(s)

Configuration 2 ( hide )
 cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9:r18423:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.0:r18423:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.0-0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.0-1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.0-2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.0-20060415:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.0-20070709:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:-p0:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:-p129:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:-p243:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:-p376:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:-p429:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc1:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc2:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.2:dev:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.2-p136:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:ruby-lang:ruby:1.9.2-p180:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

1 change record found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2011-2705
NVD Published Date:
08/05/2011
NVD Last Modified:
01/18/2012