Patch  oval:com.redhat.rhsa:def:20111581
RHSA-2011:1581: ruby security, bug fix, and enhancement update (Low)  

Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to do system management tasks.
It was found that Ruby did not reinitialize the PRNG (pseudorandom number generator) after forking a child process. This could eventually lead to the PRNG returning the same result twice. An attacker keeping track of the values returned by one child process could use this flaw to predict the values the PRNG would return in other child processes (as long as the parent process persisted). (CVE-2011-3009)
A flaw was found in the Ruby SecureRandom module. When using the SecureRandom.random_bytes class, the PRNG state was not modified after forking a child process. This could eventually lead to SecureRandom.random_bytes returning the same string more than once. An attacker keeping track of the strings returned by one child process could use this flaw to predict the strings SecureRandom.random_bytes would return in other child processes (as long as the parent process persisted). (CVE-2011-2705)
This update also fixes the following bugs:
* The ruby package has been upgraded to upstream point release 1.8.7-p352, which provides a number of bug fixes over the previous version. (BZ#706332)
* The MD5 message-digest algorithm is not a FIPS-approved algorithm. Consequently, when a Ruby script attempted to calculate an MD5 checksum in FIPS mode, the interpreter terminated unexpectedly. This bug has been fixed and an exception is now raised in the described scenario. (BZ#717709)
* Due to inappropriately handled line continuations in the mkconfig.rb source file, an attempt to build the ruby package resulted in unexpected termination. An upstream patch has been applied to address this issue and the ruby package can now be built properly. (BZ#730287)
* When the 32-bit ruby-libs library was installed on a 64-bit machine, the mkmf library failed to load various modules necessary for building Ruby-related packages. This bug has been fixed and mkmf now works properly in the described scenario. (BZ#674787)
* Previously, the load paths for scripts and binary modules were duplicated on the i386 architecture. Consequently, an ActiveSupport test failed. With this update, the load paths are no longer stored in duplicates on the i386 architecture. (BZ#722887)
This update also adds the following enhancement:
* With this update, SystemTap probes have been added to the ruby package. (BZ#673162)
All users of ruby are advised to upgrade to these updated packages, which resolve these issues and add this enhancement.
Create Date: 2011-12-05 Last Update Date: 2011-12-06

Affected Platforms/Products

Affected Products (CPE + CVE references)
  • Ruby-lang  Ruby  
  • Redhat  Enterprise Linux  
  • cpe:/o:redhat:enterprise_linux:6::client
  • cpe:/o:redhat:enterprise_linux:6::computenode
  • cpe:/o:redhat:enterprise_linux:6::server
  • cpe:/o:redhat:enterprise_linux:6::workstation
Platforms: unix (from OVAL definitions)
  • Red Hat Enterprise Linux 6

References

Criteria

The patch should be installed
IF : Any one of the following are true
IF : Red Hat Enterprise Linux must be installed
WARNING! Unknown test oval:com.redhat.rhba:tst:20070304026. Please see help for possible reasons
IF : All of the following are true
IF : Red Hat Enterprise Linux 6 is installed
WARNING! Unknown test oval:com.redhat.rhba:tst:20111656003. Please see help for possible reasons
IF : Any one of the following are true
IF : All of the following are true
IF : ruby-static is earlier than 0:1.8.7.352-3.el6
WARNING! Unknown test oval:com.redhat.rhsa:tst:20111581015. Please see help for possible reasons
IF : ruby-static is signed with Red Hat redhatrelease2 key
Linux : RPM Test :  ruby-devel is signed with Red Hat redhatrelease2 key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040441004 (Object depth limit may be exceeded) !!!
signature_keyid equals 199e2f91fd431d51
linux : rpminfo_state 
IF : All of the following are true
IF : ruby-ri is signed with Red Hat redhatrelease2 key
Linux : RPM Test :  ruby-ri is signed with Red Hat redhatrelease2 key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070965008 (Object depth limit may be exceeded) !!!
signature_keyid equals 199e2f91fd431d51
linux : rpminfo_state 
IF : ruby-ri is earlier than 0:1.8.7.352-3.el6
WARNING! Unknown test oval:com.redhat.rhsa:tst:20111581013. Please see help for possible reasons
IF : All of the following are true
IF : ruby-rdoc is signed with Red Hat redhatrelease2 key
Linux : RPM Test :  ruby-docs is signed with Red Hat redhatrelease2 key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040441007 (Object depth limit may be exceeded) !!!
signature_keyid equals 199e2f91fd431d51
linux : rpminfo_state 
IF : ruby-rdoc is earlier than 0:1.8.7.352-3.el6
WARNING! Unknown test oval:com.redhat.rhsa:tst:20111581011. Please see help for possible reasons
IF : All of the following are true
IF : ruby-libs is signed with Red Hat redhatrelease2 key
WARNING! Unknown test oval:com.redhat.rhba:tst:20193384010. Please see help for possible reasons
IF : ruby-libs is earlier than 0:1.8.7.352-3.el6
WARNING! Unknown test oval:com.redhat.rhsa:tst:20111581009. Please see help for possible reasons
IF : All of the following are true
IF : ruby-irb is signed with Red Hat redhatrelease2 key
WARNING! Unknown test oval:com.redhat.rhba:tst:20193384008. Please see help for possible reasons
IF : ruby-irb is earlier than 0:1.8.7.352-3.el6
WARNING! Unknown test oval:com.redhat.rhsa:tst:20111581007. Please see help for possible reasons
IF : All of the following are true
IF : ruby-docs is signed with Red Hat redhatrelease2 key
Linux : RPM Test :  ruby is signed with Red Hat redhatrelease2 key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040441002 (Object depth limit may be exceeded) !!!
signature_keyid equals 199e2f91fd431d51
linux : rpminfo_state 
IF : ruby-docs is earlier than 0:1.8.7.352-3.el6
WARNING! Unknown test oval:com.redhat.rhsa:tst:20111581005. Please see help for possible reasons
IF : All of the following are true
IF : ruby-devel is earlier than 0:1.8.7.352-3.el6
WARNING! Unknown test oval:com.redhat.rhsa:tst:20111581003. Please see help for possible reasons
IF : ruby-devel is signed with Red Hat redhatrelease2 key
WARNING! Unknown test oval:com.redhat.rhba:tst:20193384004. Please see help for possible reasons
IF : All of the following are true
IF : ruby is earlier than 0:1.8.7.352-3.el6
WARNING! Unknown test oval:com.redhat.rhsa:tst:20111581001. Please see help for possible reasons
IF : ruby is signed with Red Hat redhatrelease2 key
WARNING! Unknown test oval:com.redhat.rhba:tst:20193384002. Please see help for possible reasons
IF : All of the following are true
IF : ruby-tcltk is earlier than 0:1.8.7.352-3.el6
WARNING! Unknown test oval:com.redhat.rhsa:tst:20111581017. Please see help for possible reasons
IF : ruby-tcltk is signed with Red Hat redhatrelease2 key
Linux : RPM Test :  ruby-irb is signed with Red Hat redhatrelease2 key 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070965006 (Object depth limit may be exceeded) !!!
signature_keyid equals 199e2f91fd431d51
linux : rpminfo_state 

Quick Help

Unknown Tests
There is a hardcoded maximum limit for number of tests displayed for a definition. For a small number of oval definitions, about ~1% of all, hundreds of test have been defined. This causes the pages to grow in size, exceed even 1mb, and they are unsuitable for display in a web page. So they are not displayed.Please refer to the xml definition files if you really want to view them.
Other Help Topics
Data Types
What is an Object?
What is a State?
What is a Test?
Other Help Topics
Regular Expression Patterns
Some object or state definitions are defined as regular expression patterns, you should interpret the regexp pattern while evaluating them.

OVAL Definitions By Referenced Objects

How does it work?   User agreement and privacy statement   About & Contact
CVE is a registred trademark of the MITRE Corporation and the authoritive source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritive source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritive source of OVAL content is MITRE's OVAL web site.
Warning: This site and all data are provided as is. It is not guaranteed that all information is accurate and complete. Use any information provided on this site at your own risk. By using this site you accept that you know that these data are provided as is and not guaranteed to be accurate, correct or complete. All trademarks appearing on this site are the property of their respective owners in the US or other countries. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss. PLEASE SEE nvd.nist.gov and oval.mitre.org for more details about OVAL language and definitions.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor/web site owner/maintainer be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Use of OVAL and all related data is subject to terms of use defined by Mitre at http://oval.mitre.org/oval/about/termsofuse.html