CVE Tools

CVE-2009-1904

Public exploit available. Not confirmed exploited in the wild yet. A vendor fix is available.

Published Updated Sources: CVE.org, NVD

What to do

The vendor has published a fix. Version details are below where the sources state them.

Steps

Written by AI from the record
  1. Check your deployed Ruby version and patchlevel (e.g., confirm whether you are on Ruby 1.8.6 before p369 or Ruby 1.8.7 before p173).
  2. If you are affected, upgrade Ruby to a fixed release: Ruby 1.8.6 p369 or later, or Ruby 1.8.7 p173 or later.
  3. Confirm your app is reachable from the network (especially internet-facing) and that requests handling includes any path that may convert untrusted input into BigDecimal.
  4. After upgrading, test by running your application normally and verifying logs do not show crashes related to BigDecimal/number parsing.

What it is

From the CVE record

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.

In plain language

Written by AI from the record

A Ruby BigDecimal bug in Ruby 1.8.6 (before p369) and Ruby 1.8.7 (before p173) lets an attacker crash your app by sending a specially crafted text number over the network—small businesses should act if their Ruby app is reachable from the internet.

CVE-2009-1904 is a denial-of-service in Ruby’s BigDecimal (Ruby 1.8.6 before p369 and 1.8.7 before p173) where a network-reachable attacker can trigger an application crash by providing a crafted string representing an extremely large numeric value.

If you're affected

  • Application crash (downtime)
  • Loss of service for customers
  • Potential restart/recovery loops

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS96th
Public exploit
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

1 source with a proof of concept or module.

Exploit links, PoCs and Metasploit modules after sign-in
EPSS

13% chance of exploitation activity in the next 30 days, which ranks it in the 96th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

A public exploit existed 47 days before the patch.

  1. EPSS band change0 → moderateepss band change
  2. OpenVAS check added
  3. Patch availablerecord updated
  4. Public exploit / PoCsource: other
  5. Publishedweakness classified

Affected products

And 1 more affected product. See all after sign-in

Technical detail

AV:N/AC:L/Au:N/C:N/I:N/A:P

Scored 5.0 by NVD.

How it is reached

  • Access Vector NetworkExploitable remotely over the network
  • Access Complexity LowNo special conditions required
  • Authentication NoneNo authentication required

Impact if exploited

  • Confidentiality NoneNo confidentiality impact
  • Integrity NoneNo integrity impact
  • Availability PartialReduced performance or service disruption

Weaknesses

Sources

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Ruby, not every advisory. This one: public exploit.