Cryptographic Issues Affecting ruby package, versions [,1.8.7-p374)[1.9.3448, 1.9.3-p448)[2.0.0247, 2.0.0-p247)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.15% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cryptographic Issues vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-RUBY-2370177
  • published26 Jan 2022
  • disclosed18 Aug 2013
  • creditUnknown

Introduced: 18 Aug 2013

CVE-2013-4073  (opens in a new tab)
CWE-310  (opens in a new tab)

How to fix?

Upgrade ruby to version 1.8.7-p374, 1.9.3-p448, 2.0.0-p247 or higher.

Overview

Affected versions of this package are vulnerable to Cryptographic Issues. The OpenSSL::SSL.verify_certificate_identity function in lib/openssl/ssl.rb in Ruby 1.8 before 1.8.7-p374, 1.9 before 1.9.3-p448, and 2.0 before 2.0.0-p247 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.

References

CVSS Scores

version 3.1