CVE-2009-1904: 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...
Medium CVSS 5.0
- CVE id
- CVE-2009-1904
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Ruby Runtimes and servers |
1.8.6 1.8.7 |
not fixed yet |
How to fix it
No fix yet. No fixed Ruby release is listed yet.
ruby --version
- Check the advisory and its references below for a workaround or a configuration change that turns off the affected feature.
- Limit exposure: don't pass untrusted input to the affected code path, and keep it off public endpoints if you can.
- Install the patched Ruby release of your minor line (rbenv, the ruby image tag) and update .ruby-version.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2009-1904 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2009-1904
- Web: https://bugs.launchpad.net/bugs/385436
- Web: https://bugs.launchpad.net/bugs/cve/2009-1904
- Web: https://exchange.xforce.ibmcloud.com/vulnerabilities/51032
- Web: https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9780
- Web: https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00731.html
- Web: https://bugs.launchpad.net/bugs/385436
- Web: https://bugs.launchpad.net/bugs/cve/2009-1904
- Web: https://exchange.xforce.ibmcloud.com/vulnerabilities/51032
- Web: https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9780
- Web: https://www.redhat.com/archives/fedora-package-announce/2009-December/msg00731.html
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.