CVE-2009-0642 Security feature bypass in n/a

Medium 6.8 Published Updated

Attackers can bypass certificate revocation checks in Ruby's OpenSSL extension by presenting invalid X.509 certificates, undermining TLS security.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2009-0642?

CVE-2009-0642 is a medium-severity vulnerability in Ruby-Lang Ruby, published on 18 Feb 2009. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-287

Which versions are affected by CVE-2009-0642?

It affects 1 product.

Products include Ruby-Lang Ruby.

How do I fix CVE-2009-0642?

Upgrade to a fixed version.

Is CVE-2009-0642 being exploited?

There is no known exploitation of CVE-2009-0642 in the wild and no public exploit code.

All Ruby-Lang Ruby vulnerabilities

Sources

Also known as GHSA-4gvm-4mw2-9fpv.

Is CVE-2009-0642 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free