Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 3.0 | ruby | 1.6.7-3woody4 | DSA-586-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 3 | irb +6 | 1.6.8-9.EL3.3 | RHSA-2004:635 |
Advisories 2
- RHSA-2004:635 Red Hat Security Advisory: ruby security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-586-1 ruby - infinite loop Debian Security (DSA / DLA) · Mar 9, 2026
References
- RHSA-2004:635 vendor-advisory
- MDKSA-2004:128 vendor-advisory
- 11618 vdb-entry
- oval:org.mitre.oval:def:10268 vdb-entry signature
- USN-20-1 vendor-advisory
- DSA-586 vendor-advisory
- ruby-cgi-dos(17985) vdb-entry