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…
Noroxi assessment
Priority: Monitor (action score 21/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.8% (FIRST EPSS); higher than 80% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: ruby (Debian:3.0) 1.6.7-3woody4; irb (Red Hat:enterprise_linux:3::as) 0:1.6.8-9.EL3.3; ruby (Red Hat:enterprise_linux:3::as) 0:1.6.8-9.EL3.3.
Low priority for now. Upgrade to ruby (Debian:3.0) 1.6.7-3woody4; irb (Red Hat:enterprise_linux:3::as) 0:1.6.8-9.EL3.3; ruby (Red Hat:enterprise_linux:3::as) 0:1.6.8-9.EL3.3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Mar 1, 2005
- Updated
- Jun 16, 2026
- EPSS
- 1.8% · 80th percentile
- CWE
- —
Report tools
Action score
21
Low priority for now.
- CVSS
- 20 / 40 · 5.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 1.8%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| yukihiro matsumoto | ruby | cpe:2.3:a:yukihiro_matsumoto:ruby |
| gentoo | linux | cpe:2.3:o:gentoo:linux |
| mandrakesoft | mandrake linux | cpe:2.3:o:mandrakesoft:mandrake_linux |
| mandrakesoft | mandrake linux corporate server | cpe:2.3:o:mandrakesoft:mandrake_linux_corporate_server |
| ubuntu | ubuntu linux | cpe:2.3:o:ubuntu:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- gentoo linuxall versions
- mandrakesoft mandrake linux10.0
- mandrakesoft mandrake linux10.1
- mandrakesoft mandrake linux9.2
- mandrakesoft mandrake linux corporate server2.1
- ubuntu ubuntu linux4.1
- yukihiro matsumoto ruby1.6
- yukihiro matsumoto ruby1.6.7
+4 more rows
- yukihiro matsumoto ruby1.8
- yukihiro matsumoto ruby1.8.1
- yukihiro matsumoto ruby1.8.2_pre1
- yukihiro matsumoto ruby1.8.2_pre2
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:3.0 | ruby | before 1.6.7-3woody4 | 1.6.7-3woody4 |
| Red Hat:enterprise_linux:3::as | irb | before 0:1.6.8-9.EL3.3 | 0:1.6.8-9.EL3.3 |
| Red Hat:enterprise_linux:3::as | ruby | before 0:1.6.8-9.EL3.3 | 0:1.6.8-9.EL3.3 |
| Red Hat:enterprise_linux:3::as | ruby-debuginfo | before 0:1.6.8-9.EL3.3 | 0:1.6.8-9.EL3.3 |
| Red Hat:enterprise_linux:3::as | ruby-devel | before 0:1.6.8-9.EL3.3 | 0:1.6.8-9.EL3.3 |
| Red Hat:enterprise_linux:3::as | ruby-docs | before 0:1.6.8-9.EL3.3 | 0:1.6.8-9.EL3.3 |
| Red Hat:enterprise_linux:3::as | ruby-libs | before 0:1.6.8-9.EL3.3 | 0:1.6.8-9.EL3.3 |
| Red Hat:enterprise_linux:3::as | ruby-mode | before 0:1.6.8-9.EL3.3 | 0:1.6.8-9.EL3.3 |
| Red Hat:enterprise_linux:3::as | ruby-tcltk | before 0:1.6.8-9.EL3.3 | 0:1.6.8-9.EL3.3 |
Same product
yukihiro matsumoto: all recordsOther highest-scoring records for the same primary product.
- CVE-2005-1992The XMLRPC server in utils.rb for the ruby library (libruby) 1.8 sets an invalid default value that prevents "security protection" using…32Monitor
- CVE-2005-2337Ruby 1.6.x up to 1.6.8, 1.8.x up to 1.8.2, and 1.9.0 development up to 2005-09-01 allows attackers to bypass safe level and taint flag…31Monitor
- CVE-2006-3694Multiple unspecified vulnerabilities in Ruby before 1.8.5 allow remote attackers to bypass "safe level" checks via unspecified vectors…27Monitor
Published before and after this one in the same product
- ← EarlierCVE-2004-0755Oct 20, 2004 · The FileStore capability in CGI::Session for Ruby before 1.8.1, and possibly PStore, creates files with insecure permissions, which can…8Monitor
- Later →CVE-2006-1931Apr 20, 2006 · The HTTP/XMLRPC server in Ruby before 1.8.2 uses blocking sockets, which allows attackers to cause a denial of service (blocked…23Monitor
- Later →CVE-2006-5467Oct 27, 2006 · The cgi.rb CGI library for Ruby 1.8 allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via an HTTP…21Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:ruby | 1.6.7-3woody4 · Debian:3.0 | Package registry (OSV) |
| red hat:irb | 0:1.6.8-9.EL3.3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:ruby | 0:1.6.8-9.EL3.3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:ruby-debuginfo | 0:1.6.8-9.EL3.3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:ruby-devel | 0:1.6.8-9.EL3.3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:ruby-docs | 0:1.6.8-9.EL3.3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:ruby-libs | 0:1.6.8-9.EL3.3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:ruby-mode | 0:1.6.8-9.EL3.3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:ruby-tcltk | 0:1.6.8-9.EL3.3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- P
Weakness class (CWE)
—
CVSS vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (6 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.