CVE-2009-1904 Denial of service in n/a

Medium 5.0 Published Updated

Attackers can crash Ruby applications by passing large numeric strings to the BigDecimal library, causing a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2009-1904?

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

Official description

The BigDecimal library in Ruby 1.8.6 before p369 and 1.8.7 before p173 allows context-dependent attackers to cause a denial of service (application crash) via a string argument that represents a large number, as demonstrated by an attempted conversion to the Float data type.

Weakness: CWE-189

Which versions are affected by CVE-2009-1904?

It affects 1 product.

Products include Ruby-Lang Ruby.

How do I fix CVE-2009-1904?

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-2009-1904 being exploited?

There is no known exploitation of CVE-2009-1904 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Ruby-Lang Ruby vulnerabilities

Sources

Also known as GHSA-prwc-wj59-8vwr.

Is CVE-2009-1904 in your software?

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

Check your SBOMs for free