SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Ruby Vendors:   Matsumoto, Yukihiro
(Red Hat Issues Fix) Ruby 'regex.c' Processing Bug Lets Remote Users Deny Service
SecurityTracker Alert ID:  1021080
SecurityTracker URL:  http://securitytracker.com/id/1021080
CVE Reference:   CVE-2008-3443   (Links to External Site)
Date:  Oct 21 2008
Impact:   Denial of service via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 1.8.5, 1.8.6-p286, 1.8.7-p71, and prior versions; 1.9 r18423 and prior versions
Description:   A vulnerability was reported in Ruby. A remote user can cause denial of service conditions.

A remote user can send specially crafted requests to trigger a memory leak in the regex engine and cause the target service to enter an infinite loop and then crash.

The vulnerability resides in 'regex.c'.

A demonstration exploit is available at:

http://www.milw0rm.com/exploits/6239

Laurent Gaffie reported this vulnerability in August 2008.

Impact:   A remote user can cause denial of service conditions.
Solution:   Red Hat has released a fix.

The Red Hat advisory is available at:

https://rhn.redhat.com/errata/RHSA-2008-0896.html

Vendor URL:  ruby-lang.org/ (Links to External Site)
Cause:   State error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  3

Message History:   This archive entry is a follow-up to the message listed below.
Oct 21 2008 Ruby 'regex.c' Processing Bug Lets Remote Users Deny Service



 Source Message Contents

Subject:  [RHSA-2008:0896-01] Moderate: ruby security update


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

=====================================================================
                   Red Hat Security Advisory

Synopsis:          Moderate: ruby security update
Advisory ID:       RHSA-2008:0896-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2008-0896.html
Issue date:        2008-10-21
CVE Names:         CVE-2008-3443 CVE-2008-3655 CVE-2008-3905 
=====================================================================

1. Summary:

Updated ruby packages that fix several security issues are now available
for Red Hat Enterprise Linux 3.

This update has been rated as having moderate security impact by the Red
Hat Security Response Team.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS version 3 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Desktop version 3 - i386, x86_64
Red Hat Enterprise Linux ES version 3 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 3 - i386, ia64, x86_64

3. Description:

Ruby is an interpreted scripting language for quick and easy
object-oriented programming.

The Ruby DNS resolver library, resolv.rb, used predictable transaction IDs
and a fixed source port when sending DNS requests. A remote attacker could
use this flaw to spoof a malicious reply to a DNS query. (CVE-2008-3905)

A number of flaws were found in the safe-level restrictions in Ruby. It
was possible for an attacker to create a carefully crafted malicious script
that can allow the bypass of certain safe-level restrictions. (CVE-2008-3655)

A denial of service flaw was found in Ruby's regular expression engine. If
a Ruby script tried to process a large amount of data via a regular
expression, it could cause Ruby to enter an infinite-loop and crash.
(CVE-2008-3443)

Users of ruby should upgrade to these updated packages, which contain
backported patches to resolve these issues.

4. Solution:

Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.

This update is available via Red Hat Network.  Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188

5. Bugs fixed (http://bugzilla.redhat.com/):

458948 - CVE-2008-3655 ruby: multiple insufficient safe mode restrictions
459266 - CVE-2008-3443 ruby: Memory allocation failure in Ruby regex engine (remotely exploitable DoS)
461495 - CVE-2008-3905 ruby: use of predictable source port and transaction id in DNS requests done by resolv.rb module

6. Package List:

Red Hat Enterprise Linux AS version 3:

Source:
ftp://updates.redhat.com/enterprise/3AS/en/os/SRPMS/ruby-1.6.8-13.el3.src.rpm

i386:
irb-1.6.8-13.el3.i386.rpm
ruby-1.6.8-13.el3.i386.rpm
ruby-debuginfo-1.6.8-13.el3.i386.rpm
ruby-devel-1.6.8-13.el3.i386.rpm
ruby-docs-1.6.8-13.el3.i386.rpm
ruby-libs-1.6.8-13.el3.i386.rpm
ruby-mode-1.6.8-13.el3.i386.rpm
ruby-tcltk-1.6.8-13.el3.i386.rpm

ia64:
irb-1.6.8-13.el3.ia64.rpm
ruby-1.6.8-13.el3.ia64.rpm
ruby-debuginfo-1.6.8-13.el3.i386.rpm
ruby-debuginfo-1.6.8-13.el3.ia64.rpm
ruby-devel-1.6.8-13.el3.ia64.rpm
ruby-docs-1.6.8-13.el3.ia64.rpm
ruby-libs-1.6.8-13.el3.i386.rpm
ruby-libs-1.6.8-13.el3.ia64.rpm
ruby-mode-1.6.8-13.el3.ia64.rpm
ruby-tcltk-1.6.8-13.el3.ia64.rpm

ppc:
irb-1.6.8-13.el3.ppc.rpm
ruby-1.6.8-13.el3.ppc.rpm
ruby-debuginfo-1.6.8-13.el3.ppc.rpm
ruby-debuginfo-1.6.8-13.el3.ppc64.rpm
ruby-devel-1.6.8-13.el3.ppc.rpm
ruby-docs-1.6.8-13.el3.ppc.rpm
ruby-libs-1.6.8-13.el3.ppc.rpm
ruby-libs-1.6.8-13.el3.ppc64.rpm
ruby-mode-1.6.8-13.el3.ppc.rpm
ruby-tcltk-1.6.8-13.el3.ppc.rpm

s390:
irb-1.6.8-13.el3.s390.rpm
ruby-1.6.8-13.el3.s390.rpm
ruby-debuginfo-1.6.8-13.el3.s390.rpm
ruby-devel-1.6.8-13.el3.s390.rpm
ruby-docs-1.6.8-13.el3.s390.rpm
ruby-libs-1.6.8-13.el3.s390.rpm
ruby-mode-1.6.8-13.el3.s390.rpm
ruby-tcltk-1.6.8-13.el3.s390.rpm

s390x:
irb-1.6.8-13.el3.s390x.rpm
ruby-1.6.8-13.el3.s390x.rpm
ruby-debuginfo-1.6.8-13.el3.s390.rpm
ruby-debuginfo-1.6.8-13.el3.s390x.rpm
ruby-devel-1.6.8-13.el3.s390x.rpm
ruby-docs-1.6.8-13.el3.s390x.rpm
ruby-libs-1.6.8-13.el3.s390.rpm
ruby-libs-1.6.8-13.el3.s390x.rpm
ruby-mode-1.6.8-13.el3.s390x.rpm
ruby-tcltk-1.6.8-13.el3.s390x.rpm

x86_64:
irb-1.6.8-13.el3.x86_64.rpm
ruby-1.6.8-13.el3.x86_64.rpm
ruby-debuginfo-1.6.8-13.el3.i386.rpm
ruby-debuginfo-1.6.8-13.el3.x86_64.rpm
ruby-devel-1.6.8-13.el3.x86_64.rpm
ruby-docs-1.6.8-13.el3.x86_64.rpm
ruby-libs-1.6.8-13.el3.i386.rpm
ruby-libs-1.6.8-13.el3.x86_64.rpm
ruby-mode-1.6.8-13.el3.x86_64.rpm
ruby-tcltk-1.6.8-13.el3.x86_64.rpm

Red Hat Desktop version 3:

Source:
ftp://updates.redhat.com/enterprise/3desktop/en/os/SRPMS/ruby-1.6.8-13.el3.src.rpm

i386:
irb-1.6.8-13.el3.i386.rpm
ruby-1.6.8-13.el3.i386.rpm
ruby-debuginfo-1.6.8-13.el3.i386.rpm
ruby-devel-1.6.8-13.el3.i386.rpm
ruby-docs-1.6.8-13.el3.i386.rpm
ruby-libs-1.6.8-13.el3.i386.rpm
ruby-mode-1.6.8-13.el3.i386.rpm
ruby-tcltk-1.6.8-13.el3.i386.rpm

x86_64:
irb-1.6.8-13.el3.x86_64.rpm
ruby-1.6.8-13.el3.x86_64.rpm
ruby-debuginfo-1.6.8-13.el3.i386.rpm
ruby-debuginfo-1.6.8-13.el3.x86_64.rpm
ruby-devel-1.6.8-13.el3.x86_64.rpm
ruby-docs-1.6.8-13.el3.x86_64.rpm
ruby-libs-1.6.8-13.el3.i386.rpm
ruby-libs-1.6.8-13.el3.x86_64.rpm
ruby-mode-1.6.8-13.el3.x86_64.rpm
ruby-tcltk-1.6.8-13.el3.x86_64.rpm

Red Hat Enterprise Linux ES version 3:

Source:
ftp://updates.redhat.com/enterprise/3ES/en/os/SRPMS/ruby-1.6.8-13.el3.src.rpm

i386:
irb-1.6.8-13.el3.i386.rpm
ruby-1.6.8-13.el3.i386.rpm
ruby-debuginfo-1.6.8-13.el3.i386.rpm
ruby-devel-1.6.8-13.el3.i386.rpm
ruby-docs-1.6.8-13.el3.i386.rpm
ruby-libs-1.6.8-13.el3.i386.rpm
ruby-mode-1.6.8-13.el3.i386.rpm
ruby-tcltk-1.6.8-13.el3.i386.rpm

ia64:
irb-1.6.8-13.el3.ia64.rpm
ruby-1.6.8-13.el3.ia64.rpm
ruby-debuginfo-1.6.8-13.el3.i386.rpm
ruby-debuginfo-1.6.8-13.el3.ia64.rpm
ruby-devel-1.6.8-13.el3.ia64.rpm
ruby-docs-1.6.8-13.el3.ia64.rpm
ruby-libs-1.6.8-13.el3.i386.rpm
ruby-libs-1.6.8-13.el3.ia64.rpm
ruby-mode-1.6.8-13.el3.ia64.rpm
ruby-tcltk-1.6.8-13.el3.ia64.rpm

x86_64:
irb-1.6.8-13.el3.x86_64.rpm
ruby-1.6.8-13.el3.x86_64.rpm
ruby-debuginfo-1.6.8-13.el3.i386.rpm
ruby-debuginfo-1.6.8-13.el3.x86_64.rpm
ruby-devel-1.6.8-13.el3.x86_64.rpm
ruby-docs-1.6.8-13.el3.x86_64.rpm
ruby-libs-1.6.8-13.el3.i386.rpm
ruby-libs-1.6.8-13.el3.x86_64.rpm
ruby-mode-1.6.8-13.el3.x86_64.rpm
ruby-tcltk-1.6.8-13.el3.x86_64.rpm

Red Hat Enterprise Linux WS version 3:

Source:
ftp://updates.redhat.com/enterprise/3WS/en/os/SRPMS/ruby-1.6.8-13.el3.src.rpm

i386:
irb-1.6.8-13.el3.i386.rpm
ruby-1.6.8-13.el3.i386.rpm
ruby-debuginfo-1.6.8-13.el3.i386.rpm
ruby-devel-1.6.8-13.el3.i386.rpm
ruby-docs-1.6.8-13.el3.i386.rpm
ruby-libs-1.6.8-13.el3.i386.rpm
ruby-mode-1.6.8-13.el3.i386.rpm
ruby-tcltk-1.6.8-13.el3.i386.rpm

ia64:
irb-1.6.8-13.el3.ia64.rpm
ruby-1.6.8-13.el3.ia64.rpm
ruby-debuginfo-1.6.8-13.el3.i386.rpm
ruby-debuginfo-1.6.8-13.el3.ia64.rpm
ruby-devel-1.6.8-13.el3.ia64.rpm
ruby-docs-1.6.8-13.el3.ia64.rpm
ruby-libs-1.6.8-13.el3.i386.rpm
ruby-libs-1.6.8-13.el3.ia64.rpm
ruby-mode-1.6.8-13.el3.ia64.rpm
ruby-tcltk-1.6.8-13.el3.ia64.rpm

x86_64:
irb-1.6.8-13.el3.x86_64.rpm
ruby-1.6.8-13.el3.x86_64.rpm
ruby-debuginfo-1.6.8-13.el3.i386.rpm
ruby-debuginfo-1.6.8-13.el3.x86_64.rpm
ruby-devel-1.6.8-13.el3.x86_64.rpm
ruby-docs-1.6.8-13.el3.x86_64.rpm
ruby-libs-1.6.8-13.el3.i386.rpm
ruby-libs-1.6.8-13.el3.x86_64.rpm
ruby-mode-1.6.8-13.el3.x86_64.rpm
ruby-tcltk-1.6.8-13.el3.x86_64.rpm

These packages are GPG signed by Red Hat for security.  Our key and 
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3443
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3655
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-3905
http://www.redhat.com/security/updates/classification/#moderate

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2008 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFI/e+AXlSAg2UNWIIRAkaaAKCxokgMmvl7L7wJQsgl2yXL98mSugCeNIyp
l9NIsTL8kJUDtAf/I/HbAsQ=
=U+FD
-----END PGP SIGNATURE-----


-- 
Enterprise-watch-list mailing list
Enterprise-watch-list@redhat.com
https://www.redhat.com/mailman/listinfo/enterprise-watch-list

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC