CVE-2009-0642
ext/openssl/ossl_ocsp.c in Ruby 1.8 and 1.9 does not properly check the return value from the...
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.
Exploit likelihood
What each source reports
NVD Score used
6.8
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.
- Record
CVE-2009-0642- CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-287
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2009-0642- Updated
- 2026-11-02
EUVDEUVD-2009-0645 No score
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.
- Record
EUVD-2009-0645- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-4gvm-4mw2-9fpv No score
ext/openssl/ossl_ocsp.c in Ruby 1.8 and 1.9 does not properly check the return value from the...
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.
- Record
GHSA-4gvm-4mw2-9fpv- Weakness
- CWE-287
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ruby1.9Debian:4.0 From an advisory covering 2 CVEs |
before 1.9.0+20060609-1etch5, plus listed versions 1.9.0+20060609-11.9.0+20060609-1etch11.9.0+20060609-1etch21.9.0+20060609-1etch31.9.0+20060609-1etch4 |
1.9.0+20060609-1etch5 |
ruby1.8Debian:4.0 From an advisory covering 2 CVEs |
before 1.8.5-4etch5, plus listed versions 1.8.5-41.8.5-4etch11.8.5-4etch21.8.5-4etch31.8.5-4etch4 |
1.8.5-4etch5 |
ruby1.8Debian:5.0 From an advisory covering 2 CVEs |
before 1.8.7.72-3lenny1, plus listed versions 1.8.7.72-3 |
1.8.7.72-3lenny1 |
ruby1.9Debian:5.0 From an advisory covering 2 CVEs |
before 1.9.0.2-9lenny1, plus listed versions 1.9.0.2-9 |
1.9.0.2-9lenny1 |
irbRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
rubyRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-debuginfoRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-develRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-docsRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-libsRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
Show 48 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ruby-modeRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-tcltkRed Hat:enterprise_linux:4::as From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
irbRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
rubyRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-debuginfoRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-develRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-docsRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-libsRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-modeRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-tcltkRed Hat:enterprise_linux:4::desktop From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
irbRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
rubyRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-debuginfoRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-develRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-docsRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-libsRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-modeRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-tcltkRed Hat:enterprise_linux:4::es From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
irbRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
rubyRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-debuginfoRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-develRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-docsRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-libsRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-modeRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
ruby-tcltkRed Hat:enterprise_linux:4::ws From an advisory covering 3 CVEs |
before 0:1.8.1-7.el4_8.3 | 0:1.8.1-7.el4_8.3 |
rubyRed Hat:enterprise_linux:5::client_workstation From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-debuginfoRed Hat:enterprise_linux:5::client_workstation From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-develRed Hat:enterprise_linux:5::client_workstation From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-modeRed Hat:enterprise_linux:5::client_workstation From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
rubyRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-debuginfoRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-docsRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-irbRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-libsRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-rdocRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-riRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-tcltkRed Hat:enterprise_linux:5::client From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
rubyRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-debuginfoRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-develRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-docsRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-irbRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-libsRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-modeRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-rdocRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-riRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
ruby-tcltkRed Hat:enterprise_linux:5::server From an advisory covering 3 CVEs |
before 0:1.8.5-5.el5_3.7 | 0:1.8.5-5.el5_3.7 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2009-0642 is a medium vulnerability (CVSS 6.8) in Ruby-lang Ruby, published February 18, 2009. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.64%, the 85th percentile. No source names a fixed version.
References
secunia.com/advisories/35937
redmine.ruby-lang.org/issues/show/1091
exchange.xforce.ibmcloud.com/vulnerabilities/48761
redhat.com/support/errata/RHSA-2009-1140.html
ubuntu.com/usn/USN-805-1
securityfocus.com/bid/33769
Show 22 moreShow less
securitytracker.com/id?1022505
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11450
secunia.com/advisories/35699
mandriva.com/security/advisories?name=MDVSA-2009:193
bugs.debian.org/cgi-bin/bugreport.cgi?bug=513528
secunia.com/advisories/33750
nvd.nist.gov/vuln/detail/CVE-2009-0642
github.com/advisories/GHSA-4gvm-4mw2-9fpv
access.redhat.com/errata/RHSA-2009:1140
redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=241191
bugzilla.redhat.com/show_bug.cgi?id=486183
bugzilla.redhat.com/show_bug.cgi?id=504958
security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1140.json
access.redhat.com/security/cve/CVE-2007-1558
cve.org/CVERecord?id=CVE-2007-1558
nvd.nist.gov/vuln/detail/CVE-2007-1558
access.redhat.com/security/cve/CVE-2009-0642
cve.org/CVERecord?id=CVE-2009-0642
access.redhat.com/security/cve/CVE-2009-1904
cve.org/CVERecord?id=CVE-2009-1904
nvd.nist.gov/vuln/detail/CVE-2009-1904