J-Security Center

Title: Ruby 'OCSP_basic_verify()' X.509 Certificate Verification Vulnerability

Severity: HIGH

Description:

Ruby is an object-oriented scripting language.

Ruby is prone to a vulnerability related to the handling of the Online Certificate Status Protocol (OSCP), used to obtain the revocation status of x.509 certificates. This error occurs in the 'ext/openssl/ossl_ocsp.c' source file. Specifically, the software fails to check for the full range of possible return values when calling the 'OSCP_basic_verify()' function.

Exploiting this issue may allow an attacker to have a revoked x.509 certificate accepted as valid. This may allow the attacker to conduct phishing attacks or to impersonate legitimate sites. Other attacks are also possible.

Ruby 1.8.7 and 1.9.1 are vulnerable; other versions may also be affected.

Affected Products:

  • Gentoo Linux
  • Pardus Linux 2008
  • RedHat Fedora Core2
  • RedHat Fedora Core3
  • RedHat Fedora Core4
  • Ubuntu Ubuntu Linux 4.1.0 ia32
  • Ubuntu Ubuntu Linux 4.1.0 ia64
  • Ubuntu Ubuntu Linux 4.1.0 ppc
  • Ubuntu Ubuntu Linux 5.0.0 4 amd64
  • Ubuntu Ubuntu Linux 5.0.0 4 i386
  • Ubuntu Ubuntu Linux 5.0.0 4 powerpc
  • Yukihiro Matsumoto Ruby 1.8.0
  • Yukihiro Matsumoto Ruby 1.8.1
  • Yukihiro Matsumoto Ruby 1.8.2
  • Yukihiro Matsumoto Ruby 1.8.2 pre1
  • Yukihiro Matsumoto Ruby 1.8.2 pre2
  • Yukihiro Matsumoto Ruby 1.8.2 pre3
  • Yukihiro Matsumoto Ruby 1.8.2 pre4
  • Yukihiro Matsumoto Ruby 1.8.3
  • Yukihiro Matsumoto Ruby 1.8.4
  • Yukihiro Matsumoto Ruby 1.8.5
  • Yukihiro Matsumoto Ruby 1.8.5-p115
  • Yukihiro Matsumoto Ruby 1.8.5-p2
  • Yukihiro Matsumoto Ruby 1.8.5-p230
  • Yukihiro Matsumoto Ruby 1.8.5-p231
  • Yukihiro Matsumoto Ruby 1.8.6
  • Yukihiro Matsumoto Ruby 1.8.6-p114
  • Yukihiro Matsumoto Ruby 1.8.6-p229
  • Yukihiro Matsumoto Ruby 1.8.6-p230
  • Yukihiro Matsumoto Ruby 1.8.6-p286
  • Yukihiro Matsumoto Ruby 1.8.6-p287
  • Yukihiro Matsumoto Ruby 1.8.7
  • Yukihiro Matsumoto Ruby 1.8.7-p21
  • Yukihiro Matsumoto Ruby 1.8.7-p22
  • Yukihiro Matsumoto Ruby 1.8.7-p71
  • Yukihiro Matsumoto Ruby 1.8.7-p72
  • Yukihiro Matsumoto Ruby 1.9
  • Yukihiro Matsumoto Ruby 1.9.0
  • Yukihiro Matsumoto Ruby 1.9.0 -2
  • Yukihiro Matsumoto Ruby 1.9.0-1
  • Yukihiro Matsumoto Ruby 1.9.0-3
  • Yukihiro Matsumoto Ruby 1.9.1

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.