Bug 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
CVE-2011-2686 CVE-2011-2705 CVE-2011-3009 ruby: Properly initialize the rando...
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20110702,reported=2...
: Reopened, Security
Depends On: 722419 723766 768828 768829 768830
Blocks: 722421 750567
  Show dependency treegraph
 
Reported: 2011-07-15 05:51 EDT by Jan Lieskovsky
Modified: 2014-11-07 10:27 EST (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-01-30 13:57:46 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
RHEL-5.8 patch (2.87 KB, patch)
2012-01-13 10:21 EST, Vít Ondruch
no flags Details | Diff

  None (edit)
Comment 1 Jan Lieskovsky 2011-07-15 05:54:44 EDT
This issue affects the version of the ruby package, as shipped with Red Hat Enterprise Linux 6.

--

This issue affects the versions of the ruby package, as shipped with Fedora release of 14 and 15. Please schedule an update.
Comment 3 Jan Lieskovsky 2011-07-15 06:02:25 EDT
Created ruby tracking bugs for this issue

Affects: fedora-all [bug 722419]
Comment 9 Huzaifa S. Sidhpurwala 2011-07-20 02:06:37 EDT
It clearly seems that there are two issues here, and it should not be covered in the same CVE id.

More details and request for split at:
http://thread.gmane.org/gmane.comp.security.oss.general/5446/focus=5524
Comment 10 Vincent Danen 2011-07-20 16:18:56 EDT
The second issue has been assigned the name CVE-2011-2705, which is specific to the securerandom.rb module, which svn r32050 corrects.
Comment 12 Huzaifa S. Sidhpurwala 2011-07-21 01:10:14 EDT
Statement CVE-2011-3009:

The Red Hat Security Response Team has rated this issue as having low security impact, a future update may address this flaw in Red Hat Enterprise Linux 4 and 5.
Comment 14 Vincent Danen 2011-08-08 11:48:39 EDT
Common Vulnerabilities and Exposures assigned an identifier CVE-2011-3009 to
the following vulnerability:

Name: CVE-2011-3009
URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-3009
Assigned: 20110805
Reference: http://www.openwall.com/lists/oss-security/2011/07/20/1
Reference: http://redmine.ruby-lang.org/issues/show/4338

Ruby before 1.8.6-p114 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.


(I'm not sure why MITRE assigned CVE-2011-3009 to this as it sounds like this is an exact duplicate of CVE-2011-2686; I've inquired as to what makes this different from CVE-2011-2686).
Comment 16 Vincent Danen 2011-09-21 11:13:52 EDT
I've not heard anything back from MITRE about the difference, but I've looked at the CVE entry for CVE-2011-2686 and it reads:

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.


Which has me a bit more confused.  By the sounds of the description, CVE-2011-2686 was fixed in 1.8.6, but regressed which caused the flaw in 1.8.7 (I have no idea if this is the case).

I suspect we should use CVE-2011-2686 to describe any fixes in 1.8.6 and CVE-2011-3009 to describe any fixes in 1.8.7.
Comment 17 errata-xmlrpc 2011-12-06 07:08:04 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2011:1581 https://rhn.redhat.com/errata/RHSA-2011-1581.html
Comment 22 Vít Ondruch 2012-01-13 10:21:32 EST
Created attachment 555084 [details]
RHEL-5.8 patch
Comment 23 errata-xmlrpc 2012-01-30 13:33:34 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4
  Red Hat Enterprise Linux 5

Via RHSA-2012:0070 https://rhn.redhat.com/errata/RHSA-2012-0070.html

Note You need to log in before you can comment on or make changes to this bug.