what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Mandriva Linux Security Advisory 2008-141

Mandriva Linux Security Advisory 2008-141
Posted Jul 10, 2008
Authored by Mandriva | Site mandriva.com

Mandriva Linux Security Advisory - Multiple vulnerabilities have been found in the Ruby interpreter and in Webrick, the webserver bundled with Ruby. Directory traversal vulnerability in WEBrick in Ruby 1.8 before 1.8.5-p115 and 1.8.6-p114, and 1.9 through 1.9.0-1, when running on systems that support backslash (\) path separators or case-insensitive file names, allows remote attackers to access arbitrary files via (1).%5c (encoded backslash) sequences or (2) filenames that match patterns in the :NondisclosureName option. Directory traversal vulnerability in WEBrick in Ruby 1.9.0 and earlier, when using NTFS or FAT filesystems, allows remote attackers to read arbitrary CGI files via a trailing (1) + (plus), (2) %2b (encoded plus), (3). (dot), (4) %2e (encoded dot), or (5) %20 (encoded space) character in the URI, possibly related to the WEBrick::HTTPServlet::FileHandler and WEBrick::HTTPServer.new functionality and the :DocumentRoot option. Multiple integer overflows in the rb_str_buf_append function in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, 1.8.7 before 1.8.7-p22, and 1.9.0 before 1.9.0-2 allow context-dependent attackers to execute arbitrary code or cause a denial of service via unknown vectors that trigger memory corruption. Multiple integer overflows in the rb_ary_store function in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, and 1.8.7 before 1.8.7-p22 allow context-dependent attackers to execute arbitrary code or cause a denial of service via unknown vectors. The rb_str_format function in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, 1.8.7 before 1.8.7-p22, and 1.9.0 before 1.9.0-2 allows context-dependent attackers to trigger memory corruption via unspecified vectors related to alloca. Integer overflow in the rb_ary_splice function in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, and 1.8.7 before 1.8.7-p22 allows context-dependent attackers to trigger memory corruption via unspecified vectors, aka the REALLOC_N variant. Integer overflow in the rb_ary_splice function in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, 1.8.7 before 1.8.7-p22, and 1.9.0 before 1.9.0-2 allows context-dependent attackers to trigger memory corruption, aka the beg + rlen issue. Integer overflow in the rb_ary_fill function in array.c in Ruby before revision 17756 allows context-dependent attackers to cause a denial of service (crash) or possibly have unspecified other impact via a call to the Array#fill method with a start (aka beg) argument greater than ARY_MAX_SIZE. The updated packages have been patched to fix these issues.

tags | advisory, remote, denial of service, overflow, arbitrary, cgi, vulnerability, ruby
systems | linux, mandriva
advisories | CVE-2008-1145, CVE-2008-1891, CVE-2008-2662, CVE-2008-2663, CVE-2008-2664, CVE-2008-2725, CVE-2008-2726, CVE-2008-2376
SHA-256 | d00ebdbb975ee1e7b2deb15749862082698f10cac113ff1b9fb77c6add98114c

Mandriva Linux Security Advisory 2008-141

Change Mirror Download

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

_______________________________________________________________________

Mandriva Linux Security Advisory MDVSA-2008:141
http://www.mandriva.com/security/
_______________________________________________________________________

Package : ruby
Date : July 9, 2008
Affected: 2007.1, 2008.0, Corporate 4.0
_______________________________________________________________________

Problem Description:

Multiple vulnerabilities have been found in the Ruby interpreter and
in Webrick, the webserver bundled with Ruby.

Directory traversal vulnerability in WEBrick in Ruby 1.8 before
1.8.5-p115 and 1.8.6-p114, and 1.9 through 1.9.0-1, when running on
systems that support backslash (\) path separators or case-insensitive
file names, allows remote attackers to access arbitrary files via
(1) ..%5c (encoded backslash) sequences or (2) filenames that match
patterns in the :NondisclosureName option. (CVE-2008-1145)

Directory traversal vulnerability in WEBrick in Ruby 1.9.0
and earlier, when using NTFS or FAT filesystems, allows remote
attackers to read arbitrary CGI files via a trailing (1) + (plus),
(2) %2b (encoded plus), (3) . (dot), (4) %2e (encoded dot), or
(5) %20 (encoded space) character in the URI, possibly related to
the WEBrick::HTTPServlet::FileHandler and WEBrick::HTTPServer.new
functionality and the :DocumentRoot option. (CVE-2008-1891)

Multiple integer overflows in the rb_str_buf_append function in
Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before
1.8.6-p230, 1.8.7 before 1.8.7-p22, and 1.9.0 before 1.9.0-2
allow context-dependent attackers to execute arbitrary code or
cause a denial of service via unknown vectors that trigger memory
corruption. (CVE-2008-2662)

Multiple integer overflows in the rb_ary_store function in Ruby
1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230,
and 1.8.7 before 1.8.7-p22 allow context-dependent attackers to
execute arbitrary code or cause a denial of service via unknown
vectors. (CVE-2008-2663)

The rb_str_format function in Ruby 1.8.4 and earlier, 1.8.5 before
1.8.5-p231, 1.8.6 before 1.8.6-p230, 1.8.7 before 1.8.7-p22, and 1.9.0
before 1.9.0-2 allows context-dependent attackers to trigger memory
corruption via unspecified vectors related to alloca. (CVE-2008-2664)

Integer overflow in the rb_ary_splice function in Ruby 1.8.4
and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230,
and 1.8.7 before 1.8.7-p22 allows context-dependent attackers to
trigger memory corruption via unspecified vectors, aka the REALLOC_N
variant. (CVE-2008-2725)

Integer overflow in the rb_ary_splice function in Ruby 1.8.4 and
earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, 1.8.7 before
1.8.7-p22, and 1.9.0 before 1.9.0-2 allows context-dependent attackers
to trigger memory corruption, aka the beg + rlen issue. (CVE-2008-2726)

Integer overflow in the rb_ary_fill function in array.c in Ruby before
revision 17756 allows context-dependent attackers to cause a denial
of service (crash) or possibly have unspecified other impact via a
call to the Array#fill method with a start (aka beg) argument greater
than ARY_MAX_SIZE. (CVE-2008-2376)

The updated packages have been patched to fix these issues.
_______________________________________________________________________

References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1145
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1891
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2662
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2663
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2664
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2725
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2726
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2376
_______________________________________________________________________

Updated Packages:

Mandriva Linux 2007.1:
c252d5ada64ffce7573bc6e0d2184732 2007.1/i586/ruby-1.8.5-5.2mdv2007.1.i586.rpm
7c1687d94932963aed642743b1843212 2007.1/i586/ruby-devel-1.8.5-5.2mdv2007.1.i586.rpm
cb3097b6b931faeb143924fbee1d3a28 2007.1/i586/ruby-doc-1.8.5-5.2mdv2007.1.i586.rpm
d29d868f062bad90621381d386472777 2007.1/i586/ruby-tk-1.8.5-5.2mdv2007.1.i586.rpm
33d63f4835688a0ab7581c362e75dd64 2007.1/SRPMS/ruby-1.8.5-5.2mdv2007.1.src.rpm

Mandriva Linux 2007.1/X86_64:
724556ab63e935db4a9f45612058936c 2007.1/x86_64/ruby-1.8.5-5.2mdv2007.1.x86_64.rpm
6ec3a76f976514e17fb99711e3cc68e3 2007.1/x86_64/ruby-devel-1.8.5-5.2mdv2007.1.x86_64.rpm
5c9deb0ff0b1696e8218f5000343bfac 2007.1/x86_64/ruby-doc-1.8.5-5.2mdv2007.1.x86_64.rpm
ec156fb4f2f8f734b4f89a9aa16a62e8 2007.1/x86_64/ruby-tk-1.8.5-5.2mdv2007.1.x86_64.rpm
33d63f4835688a0ab7581c362e75dd64 2007.1/SRPMS/ruby-1.8.5-5.2mdv2007.1.src.rpm

Mandriva Linux 2008.0:
89f70e454462048226c6059b95652f25 2008.0/i586/ruby-1.8.6-5.2mdv2008.0.i586.rpm
d57091c563b105fd9e4127ef8008867d 2008.0/i586/ruby-devel-1.8.6-5.2mdv2008.0.i586.rpm
8a94d59110ecb0cd0a480b69ed1bf0bc 2008.0/i586/ruby-doc-1.8.6-5.2mdv2008.0.i586.rpm
0c43f8440eb12ec9178226ac5c77aa2e 2008.0/i586/ruby-tk-1.8.6-5.2mdv2008.0.i586.rpm
858395d3967c7de15b571385c197ccc4 2008.0/SRPMS/ruby-1.8.6-5.2mdv2008.0.src.rpm

Mandriva Linux 2008.0/X86_64:
f120c134ce4fdead8965403ccc8eb49e 2008.0/x86_64/ruby-1.8.6-5.2mdv2008.0.x86_64.rpm
a9609b6039420c64abfb9b91d92b68bc 2008.0/x86_64/ruby-devel-1.8.6-5.2mdv2008.0.x86_64.rpm
0e329d93db15b76812cc51b26f897604 2008.0/x86_64/ruby-doc-1.8.6-5.2mdv2008.0.x86_64.rpm
92600aca44e77277ed4f719c123e5b90 2008.0/x86_64/ruby-tk-1.8.6-5.2mdv2008.0.x86_64.rpm
858395d3967c7de15b571385c197ccc4 2008.0/SRPMS/ruby-1.8.6-5.2mdv2008.0.src.rpm

Corporate 4.0:
7a9604cb39058bab09a4e553c0cbc2e3 corporate/4.0/i586/ruby-1.8.2-7.7.20060mlcs4.i586.rpm
5d900b1a9787097628a51b6c24ba4be9 corporate/4.0/i586/ruby-devel-1.8.2-7.7.20060mlcs4.i586.rpm
b8729a0cf4552ea6a8fc611fc1104d11 corporate/4.0/i586/ruby-doc-1.8.2-7.7.20060mlcs4.i586.rpm
c716012af6e742531fc28257f4696f4d corporate/4.0/i586/ruby-tk-1.8.2-7.7.20060mlcs4.i586.rpm
c72b7dad7cb2bd7562d995da4c4e4efd corporate/4.0/SRPMS/ruby-1.8.2-7.7.20060mlcs4.src.rpm

Corporate 4.0/X86_64:
13d8f1e4329d0f7dfc5572a2705f8b86 corporate/4.0/x86_64/ruby-1.8.2-7.7.20060mlcs4.x86_64.rpm
a7d4f516f8ff886168cf6335fcad125e corporate/4.0/x86_64/ruby-devel-1.8.2-7.7.20060mlcs4.x86_64.rpm
4d740dd82feaba8d2e9e1488c6cf2ef9 corporate/4.0/x86_64/ruby-doc-1.8.2-7.7.20060mlcs4.x86_64.rpm
b2de140fb31dcfbcee01134bc31489ea corporate/4.0/x86_64/ruby-tk-1.8.2-7.7.20060mlcs4.x86_64.rpm
c72b7dad7cb2bd7562d995da4c4e4efd corporate/4.0/SRPMS/ruby-1.8.2-7.7.20060mlcs4.src.rpm
_______________________________________________________________________

To upgrade automatically use MandrivaUpdate or urpmi. The verification
of md5 checksums and GPG signatures is performed automatically for you.

All packages are signed by Mandriva for security. You can obtain the
GPG public key of the Mandriva Security Team by executing:

gpg --recv-keys --keyserver pgp.mit.edu 0x22458A98

You can view other update advisories for Mandriva Linux at:

http://www.mandriva.com/security/advisories

If you want to report vulnerabilities, please contact

security_(at)_mandriva.com
_______________________________________________________________________

Type Bits/KeyID Date User ID
pub 1024D/22458A98 2000-07-10 Mandriva Security Team
<security*mandriva.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFIdUGqmqjQ0CJFipgRAuXGAKCIQ0Va2dI9prKCa0oFhVtknariDACeLC6Z
3zJx/Rr6cvqbhMHr4JMKICM=
=lPv+
-----END PGP SIGNATURE-----

Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    18 Files
  • 19
    Nov 19th
    7 Files
  • 20
    Nov 20th
    13 Files
  • 21
    Nov 21st
    6 Files
  • 22
    Nov 22nd
    48 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    60 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    44 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close