Vulnerability in Ruby1.8 and Ruby1.9

ruby1.9 Updated 02 Oct 2025

Summary

12/08/2009
N/A
Yes i
Unrated
Not published

DSA-1860-1: ruby1.8 ruby1.9 - several issues. Affects ruby1.9 versions < 1.9.0+20060609-1etch5. Fixed in 1.9.0+20060609-1etch5. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Ruby is a dynamic, open-source programming language known for its simplicity and productivity. It is widely used for web development, scripting, and automation tasks. Ruby1.8 and Ruby1.9 are specific versions of Ruby that are affected by several vulnerabilities.

Vulnerability Detail

The vulnerabilities in Ruby1.8 and Ruby1.9 include:

  1. CVE-2009-0642: The return value from the OCSP_basic_verify function was not checked properly, allowing continued use of a revoked certificate.

  2. CVE-2009-1904: An issue in parsing BigDecimal numbers can result in a denial-of-service condition (crash).

These vulnerabilities can potentially lead to unauthorized access, data breaches, or denial-of-service attacks.

How To Fix

Minimum fixed version

1.9.0+20060609-1etch5

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ruby1.9

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

Upgrading your Ruby packages to the fixed versions is crucial to ensure the security and stability of your software. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for ruby1.9 →

Share this vulnerability

FAQ

Ruby is a dynamic, open-source programming language known for its simplicity and productivity. It is widely used for web development, scripting, and automation tasks.

Ruby1.8 and Ruby1.9 are specific versions of Ruby that are affected by several vulnerabilities.

CVE-2009-0642 is a vulnerability in Ruby1.8 and Ruby1.9 where the return value from the OCSP_basic_verify function was not checked properly, allowing continued use of a revoked certificate.

CVE-2009-1904 is a vulnerability in Ruby1.8 and Ruby1.9 where an issue in parsing BigDecimal numbers can result in a denial-of-service condition (crash).

To fix these vulnerabilities, it is recommended to upgrade your Ruby packages to the fixed versions mentioned earlier.

Related vulnerabilities

Recent vulnerabilities recorded for ruby1.9.

How To Fix

Minimum fixed version

1.9.0+20060609-1etch5

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ruby1.9

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback