Ruby CGI module denial of service

ruby-cgi-dos (17985) The risk level is classified as LowLow Risk

Description:

Ruby is vulnerable to a denial of service attack, caused by a vulnerability in the CGI module. By sending specially-crafted requests, a remote attacker could cause an infinite loop and consume a large amount of CPU resources.

Platforms Affected:

  • Canonical, Ubuntu 4.10
  • Debian, Debian Linux 3.0
  • Gentoo, Linux
  • MandrakeSoft, Mandrake Linux 10.0 AMD64
  • MandrakeSoft, Mandrake Linux 10.0
  • MandrakeSoft, Mandrake Linux 10.1
  • MandrakeSoft, Mandrake Linux 10.1 X86_64
  • MandrakeSoft, Mandrake Linux 9.2
  • MandrakeSoft, Mandrake Linux 9.2 AMD64
  • MandrakeSoft, Mandrake Linux Corporate Server 2.1
  • MandrakeSoft, Mandrake Linux Corporate Server 2.1 X86_64
  • RedHat, Enterprise Linux 2.1 WS
  • RedHat, Enterprise Linux 2.1 AS
  • RedHat, Enterprise Linux 2.1 ES
  • RedHat, Enterprise Linux 3 ES
  • RedHat, Enterprise Linux 3 AS
  • RedHat, Enterprise Linux 3 Desktop
  • RedHat, Enterprise Linux 3 WS
  • Turbolinux, Turbolinux 10 Desktop
  • Turbolinux, Turbolinux 10 F...
  • Turbolinux, Turbolinux 10 Server
  • Turbolinux, Turbolinux 7 Server
  • Turbolinux, Turbolinux 7 Workstation
  • Turbolinux, Turbolinux 8 Server
  • Turbolinux, Turbolinux 8 Workstation
  • Turbolinux, Turbolinux Home
  • Yukihiro Matsumoto, Ruby

Remedy:

For Debian GNU/Linux 3.0 (woody):
Upgrade to the latest ruby package, as listed below. Refer to DSA-586-1 for more information. See References.

Debian GNU/Linux 3.0 (woody): 1.6.7-3woody4 or later

For Mandrake Linux:
Upgrade to the latest ruby package, as listed below. Refer to MandrakeSoft Security Advisory MDKSA-2004:128 for more information. See References.

Mandrake Linux 10.1: 1.8.1-4.2.101mdk or later
Mandrake Linux 9.2: 1.8.0-4.2.92mdk or later
Mandrake Linux Corporate Server 2.1: 1.6.7-5.2.C21mdk or later
Mandrake Linux 10.0: 1.8.1-1.2.100mdk or later

For Ubuntu Linux:
Upgrade to the latest libruby package (1.8.1+1.8.2pre2-3ubuntu0.1 or later), as listed in USN-20-1 November 08, 2004 for more information. See References.

For Gentoo Linux:
Upgrade to the latest version of Ruby (1.6.8-r12, >= 1.8.2_pre3 or later), as listed in GLSA 200411-23. See References.

For Red Hat Linux:
Upgrade to the latest ruby package, as listed below. Refer to RHSA-2004:635-06 for more information. See References.

Red Hat Enterprise Linux AS, ES, WS (v. 3) and Desktop 3: 1.6.8-9.EL3.3 or later Red Hat Enterprise Linux AS, ES, WS (v. 2.1): 1.6.4-2.AS21.1 or later

For Turbolinux:
Upgrade to the latest ruby package, as listed below. Refer to Turbolinux Security Advisory TLSA-2005-15 for more information. See References.

Turbolinux 10 Server: 1.8.1-4 or later
Turbolinux Home: 1.6.8-2 or later
Turbolinux 10 Desktop: 1.6.8-2 or later
Turbolinux 8 Server: 1.6.4-4 or later
Turbolinux 8 Workstation: 1.6.4-4 or later
Turbolinux 7 Server: 1.6.4-4 or later
Turbolinux 7 Workstation: 1.6.4-4 or later

For other distributions:
Contact your vendor for upgrade or patch information.

Consequences:

Denial of Service

References:

  • BID-11618: Yukihiro Matsumoto Ruby CGI Module Unspecified Denial Of Service Vulnerability
  • CVE-2004-0983: The CGI module in Ruby 1.6 before 1.6.8, and 1.8 before 1.8.2, allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via a certain HTTP request.
  • DSA-586: ruby -- infinite loop
  • GLSA-200411-23: Ruby: Denial of Service issue
  • MDKSA-2004:128: Updated ruby packages fix remote DoS vulnerability
  • RHSA-2004-635: ruby security update

Reported:

Nov 08, 2004

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 (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page