Live threats

All CVEs / Ruby-lang

CVE-2009-0642Ruby-lang Ruby

Medium 6.8 No auth needed

Priority
56
CVSS 2.0
6.8
EPSS
2.6%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Feb 20, 2009
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-287
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

ext/openssl/ossl_ocsp.c in Ruby 1.8 and 1.9 does not properly check the return value from the OCSP_basic_verify function, which might allow remote attackers to successfully present an invalid X.509 certificate, possibly involving a revoked certificate.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ruby-langruby1.8
ruby-langruby1.9

Official sources

References

Links published by the sources. Open them with care.