Patch  oval:com.redhat.rhsa:def:20110909
RHSA-2011:0909: ruby security update (Moderate)  

Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to do system management tasks.
A flaw was found in the way large amounts of memory were allocated on 64-bit systems when using the BigDecimal class. A context-dependent attacker could use this flaw to cause memory corruption, causing a Ruby application that uses the BigDecimal class to crash or, possibly, execute arbitrary code. This issue did not affect 32-bit systems. (CVE-2011-0188)
A race condition flaw was found in the remove system entries method in the FileUtils module. If a local user ran a Ruby script that uses this method, a local attacker could use this flaw to delete arbitrary files and directories accessible to that user via a symbolic link attack. (CVE-2011-1004)
It was found that WEBrick (the Ruby HTTP server toolkit) did not filter terminal escape sequences from its log files. A remote attacker could use specially-crafted HTTP requests to inject terminal escape sequences into the WEBrick log files. If a victim viewed the log files with a terminal emulator, it could result in control characters being executed with the privileges of that user. (CVE-2009-4492)
A cross-site scripting (XSS) flaw was found in the way WEBrick displayed error pages. A remote attacker could use this flaw to perform a cross-site scripting attack against victims by tricking them into visiting a specially-crafted URL. (CVE-2010-0541)
A flaw was found in the method for translating an exception message into a string in the Exception class. A remote attacker could use this flaw to bypass safe level 4 restrictions, allowing untrusted (tainted) code to modify arbitrary, trusted (untainted) strings, which safe level 4 restrictions would otherwise prevent. (CVE-2011-1005)
Red Hat would like to thank Drew Yao of Apple Product Security for reporting the CVE-2011-0188 and CVE-2010-0541 issues.
All Ruby users should upgrade to these updated packages, which contain backported patches to resolve these issues.
Create Date: 2011-06-28 Last Update Date: 2011-06-28

Affected Platforms/Products

Affected Products (CPE + CVE references)
Platforms: unix (from OVAL definitions)
  • Red Hat Enterprise Linux 5

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 5 is installed
WARNING! Unknown test oval:com.redhat.rhba:tst:20070331005. Please see help for possible reasons
IF : Any one of the following are true
IF : All of the following are true
IF : ruby is earlier than 0:1.8.5-19.el5_6.1
WARNING! Unknown test oval:com.redhat.rhsa:tst:20110909017. Please see help for possible reasons
IF : ruby is signed with Red Hat redhatrelease key
Linux : RPM Test :  ruby-irb is earlier than 0:1.8.5-5.el5_1.1 
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) !!!
RPM Version less than 0:1.8.5-5.el5_1.1 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : ruby-rdoc is earlier than 0:1.8.5-19.el5_6.1
WARNING! Unknown test oval:com.redhat.rhsa:tst:20110909015. Please see help for possible reasons
IF : ruby-rdoc is signed with Red Hat redhatrelease key
Linux : RPM Test :  ruby-libs is earlier than 0:1.8.5-5.el5_1.1 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040441003 (Object depth limit may be exceeded) !!!
RPM Version less than 0:1.8.5-5.el5_1.1 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : ruby-ri is earlier than 0:1.8.5-19.el5_6.1
WARNING! Unknown test oval:com.redhat.rhsa:tst:20110909013. Please see help for possible reasons
IF : ruby-ri is signed with Red Hat redhatrelease key
Linux : RPM Test :  ruby is earlier than 0:1.8.5-5.el5_1.1 
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) !!!
RPM Version less than 0:1.8.5-5.el5_1.1 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : ruby-docs is earlier than 0:1.8.5-19.el5_6.1
WARNING! Unknown test oval:com.redhat.rhsa:tst:20110909011. Please see help for possible reasons
IF : ruby-docs is signed with Red Hat redhatrelease key
Linux : RPM Test :  ruby-devel is earlier than 0:1.8.5-5.el5_1.1 
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) !!!
RPM Version less than 0:1.8.5-5.el5_1.1 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : ruby-libs is earlier than 0:1.8.5-19.el5_6.1
WARNING! Unknown test oval:com.redhat.rhsa:tst:20110909009. Please see help for possible reasons
IF : ruby-libs is signed with Red Hat redhatrelease key
Linux : RPM Test :  ruby-ri is earlier than 0:1.8.5-5.el5_1.1 
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) !!!
RPM Version less than 0:1.8.5-5.el5_1.1 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : ruby-tcltk is signed with Red Hat redhatrelease key
Linux : RPM Test :  ruby-rdoc is earlier than 0:1.8.5-5.el5_1.1 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20070965004 (Object depth limit may be exceeded) !!!
RPM Version less than 0:1.8.5-5.el5_1.1 (datatype=evr_string)
linux : rpminfo_state 
IF : ruby-tcltk is earlier than 0:1.8.5-19.el5_6.1
WARNING! Unknown test oval:com.redhat.rhsa:tst:20110909007. Please see help for possible reasons
IF : All of the following are true
IF : ruby-mode is signed with Red Hat redhatrelease key
Linux : RPM Test :  ruby-docs is earlier than 0:1.8.5-5.el5_1.1 
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) !!!
RPM Version less than 0:1.8.5-5.el5_1.1 (datatype=evr_string)
linux : rpminfo_state 
IF : ruby-mode is earlier than 0:1.8.5-19.el5_6.1
WARNING! Unknown test oval:com.redhat.rhsa:tst:20110909005. Please see help for possible reasons
IF : All of the following are true
IF : ruby-irb is earlier than 0:1.8.5-19.el5_6.1
WARNING! Unknown test oval:com.redhat.rhsa:tst:20110909003. Please see help for possible reasons
IF : ruby-irb is signed with Red Hat redhatrelease key
Linux : RPM Test :  ruby-tcltk is earlier than 0:1.8.5-5.el5_1.1 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040441005 (Object depth limit may be exceeded) !!!
RPM Version less than 0:1.8.5-5.el5_1.1 (datatype=evr_string)
linux : rpminfo_state 
IF : All of the following are true
IF : ruby-devel is signed with Red Hat redhatrelease key
Linux : RPM Test :  ruby-mode is earlier than 0:1.8.5-5.el5_1.1 
At least one of the objects listed below must exist on the system (Existence check)
Unknown object oval:com.redhat.rhsa:obj:20040441008 (Object depth limit may be exceeded) !!!
RPM Version less than 0:1.8.5-5.el5_1.1 (datatype=evr_string)
linux : rpminfo_state 
IF : ruby-devel is earlier than 0:1.8.5-19.el5_6.1
WARNING! Unknown test oval:com.redhat.rhsa:tst:20110909001. Please see help for possible reasons

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.
evr_string datatype
Represents epoch, version, and release number as a single version string
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