Skip to content
OpenAdvisories
Unscored CVE-2009-0642 EUVD-2009-0645GHSA-4gvm-4mw2-9fpv

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…

Published Feb 18, 2009 · Updated Aug 7, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 ruby1.8 1.8.7.72-3lenny1 DSA-1860-1
Debian 5.0 ruby1.9 1.9.0.2-9lenny1 DSA-1860-1
Debian 4.0 ruby1.8 1.8.5-4etch5 DSA-1860-1
Debian 4.0 ruby1.9 1.9.0+20060609-1etch5 DSA-1860-1
ReleasePackageFixed inAdvisory
RHEL 5 ruby +8 1.8.5-5.el5_3.7 RHSA-2009:1140
RHEL 4 irb +6 1.8.1-7.el4_8.3 RHSA-2009:1140

Advisories 2

References