CVE-2008-3790 Denial of service in n/a
Attackers can cause denial of service via CPU exhaustion by sending XML with recursively nested entities to applications using the Ruby REXML module.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2008-3790?
CVE-2008-3790 is a medium-severity denial of service vulnerability in Ruby-Lang Ruby, published on 27 Aug 2008. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The REXML module in Ruby 1.8.6 through 1.8.6-p287, 1.8.7 through 1.8.7-p72, and 1.9 allows context-dependent attackers to cause a denial of service (CPU consumption) via an XML document with recursively nested entities, aka an "XML entity explosion."
Weakness: CWE-20
Which versions are affected by CVE-2008-3790?
It affects 1 product.
Products include Ruby-Lang Ruby.
How do I fix CVE-2008-3790?
Upgrade to a fixed version.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2008-3790 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-3790 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Ruby-Lang Ruby
Sources
Also known as GHSA-96jc-f6m3-pf2w.