(Red Hat Issues Fix) Ruby 'regex.c' Processing Bug Lets Remote Users Deny Service
SecurityTracker Alert ID: 1021076|
SecurityTracker URL: http://securitytracker.com/id/1021076
(Links to External Site)
Date: Oct 21 2008
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|
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:
Laurent Gaffie reported this vulnerability in August 2008.
A remote user can cause denial of service conditions.|
Red Hat has released a fix.|
The Red Hat advisory is available at:
Vendor URL: ruby-lang.org/ (Links to External Site)
|Underlying OS: Linux (Red Hat Enterprise)|
|Underlying OS Comments: 2.1|
This archive entry is a follow-up to the message listed below.|
Source Message Contents
Subject: [RHSA-2008:0895-02] Moderate: ruby security update|
-----BEGIN PGP SIGNED MESSAGE-----
Red Hat Security Advisory
Synopsis: Moderate: ruby security update
Advisory ID: RHSA-2008:0895-02
Product: Red Hat Enterprise Linux
Advisory URL: https://rhn.redhat.com/errata/RHSA-2008-0895.html
Issue date: 2008-10-21
CVE Names: CVE-2008-3443 CVE-2008-3655
Updated ruby packages that fix various security issues are now available
for Red Hat Enterprise Linux 2.1.
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 (Advanced Server) version 2.1 - i386
Red Hat Enterprise Linux ES version 2.1 - i386
Red Hat Enterprise Linux WS version 2.1 - i386
Ruby is an interpreted scripting language for quick and easy
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.
Users of ruby should upgrade to these updated packages, which contain
backported patches to resolve these issues.
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
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)
6. Package List:
Red Hat Enterprise Linux AS (Advanced Server) version 2.1 :
Red Hat Enterprise Linux ES version 2.1:
Red Hat Enterprise Linux WS version 2.1:
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
The Red Hat security contact is <email@example.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)
-----END PGP SIGNATURE-----
Enterprise-watch-list mailing list