|
|
>> Ruby Multiple Security Bypass and Denial of Service Vulnerabilities
|
Multiple vulnerabilities have been identified in Ruby, which could be exploited by attackers to bypass security restrictions, cause a denial of service or spoof certain data.
The first issue is caused due to "untrace_var" being permitted at safe level 4, "$PROGRAM_NAME" being modifiable at safe level 4, insecure methods being callable at safe level 1-3, and Syslog operations being permitted at safe level 4.
The second vulnerability is caused by an error in "WEBrick::HTTPUtils.split_header_value" when handling regular expressions, which could be exploited to exhaust all available memory resources, creating a denial of service condition.
The third issue is caused by an error in "dl", which could be exploited by attackers to bypass security checks and call dangerous functions.
The fourth vulnerability is caused by an error in "resolv.rb", which could allow remote attackers to spoof DNS responses. This issue is related to : VUPEN/ADV-2008-2023
Affected Products
Ruby version 1.8.5 and prior
Ruby version 1.8.6-p286 and prior
Ruby version 1.8.7-p71 and prior
Ruby version 1.9 r18423 and prior
Solution
Upgrade to Ruby version 1.8.6-p287 or 1.8.7-p72 :
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p287.tar.gz
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p72.tar.gz
References
http://www.vupen.com/english/advisories/2008/2334 http://www.ruby-lang.org/en/news/2008/08/08/multiple-vulnerabilities-in-ruby/
Credits
Vulnerabilities reported by Keita Yamaguchi, Christian Neukirchen, sheepman, and Tanaka Akira.
ChangeLog
2008-08-12 : Initial release
Vulnerability Management
Subscribe to VUPEN VNS and receive real-time alerts when new advisories or patches relevant to your systems and network configurations are available.
Feedback
If you have additional information or corrections for this security advisory please submit them via our contact form. | |
|