Vulnerabilities · 2009 · Ruby-lang
CVE-2009-0642
Ruby-lang Ruby vulnerability
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.
Affected products
Ruby. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ruby-lang Ruby runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- redmine.ruby-lang.org/issues/show/1091 · Exploit
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=513528
- secunia.com/advisories/33750
- secunia.com/advisories/35699
- secunia.com/advisories/35937
- www.mandriva.com/security/advisories?name=MDVSA-2009:193
- www.redhat.com/support/errata/RHSA-2009-1140.html
- www.securityfocus.com/bid/33769
- nvd.nist.gov/vuln/detail/CVE-2009-0642
- cve.org/CVERecord?id=CVE-2009-0642
More vulnerabilities in Ruby-lang products
CVE-2026-46727CVE-2025-58767CVE-2025-43857CVE-2025-27788CVE-2025-27221CVE-2025-27220CVE-2025-27219CVE-2025-6442All 115
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.