CVE-2008-3443 Denial of service in n/a

Medium 5.0 Published Updated

Remote attackers can cause a denial of service via infinite loops in the Ruby regex engine by sending multiple long requests.

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-3443?

CVE-2008-3443 is a medium-severity denial of service vulnerability in Ruby-Lang Ruby, published on 14 Aug 2008. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The regular expression engine (regex.c) in Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r18423 allows remote attackers to cause a denial of service (infinite loop and crash) via multiple long requests to a Ruby socket, related to memory allocation failure, and as demonstrated against Webrick.

Weakness: CWE-399

Which versions are affected by CVE-2008-3443?

It affects 1 product.

Products include Ruby-Lang Ruby.

How do I fix CVE-2008-3443?

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-3443 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-3443 exists.

Public exploit code: 1 Exploit-DB entry.

All Ruby-Lang Ruby vulnerabilities

Sources

Also known as DSA-1695-1, GHSA-v838-v88j-gw93.

Is CVE-2008-3443 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free