Vulnerability Details CVE-2018-16395
An issue was discovered in the OpenSSL library in Ruby before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.2, and 2.6.x before 2.6.0-preview3. When two OpenSSL::X509::Name objects are compared using ==, depending on the ordering, non-equal objects may return true. When the first argument is one character longer than the second, or the second argument contains a character that is one less than a character in the same position of the first argument, the result of == will be true. This could be leveraged to create an illegitimate certificate that may be accepted as legitimate and then used in signing or encryption operations.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.064
EPSS Ranking 90.5%
CVSS Severity
CVSS v3 Score 9.8
CVSS v2 Score 7.5
Products affected by CVE-2018-16395
-
cpe:2.3:a:ruby-lang:openssl:-
-
cpe:2.3:a:ruby-lang:openssl:0.1.0
-
cpe:2.3:a:ruby-lang:openssl:0.2.0
-
cpe:2.3:a:ruby-lang:openssl:1.0.0
-
cpe:2.3:a:ruby-lang:openssl:2.0.0
-
cpe:2.3:a:ruby-lang:openssl:2.0.1
-
cpe:2.3:a:ruby-lang:openssl:2.0.2
-
cpe:2.3:a:ruby-lang:openssl:2.0.3
-
cpe:2.3:a:ruby-lang:openssl:2.0.4
-
cpe:2.3:a:ruby-lang:openssl:2.0.5
-
cpe:2.3:a:ruby-lang:openssl:2.0.6
-
cpe:2.3:a:ruby-lang:openssl:2.0.7
-
cpe:2.3:a:ruby-lang:openssl:2.0.8
-
cpe:2.3:a:ruby-lang:openssl:2.0.9
-
cpe:2.3:a:ruby-lang:openssl:2.1.0
-
cpe:2.3:a:ruby-lang:openssl:2.1.1
-
cpe:2.3:a:ruby-lang:ruby:2.3.0
-
cpe:2.3:a:ruby-lang:ruby:2.3.1
-
cpe:2.3:a:ruby-lang:ruby:2.3.2
-
cpe:2.3:a:ruby-lang:ruby:2.3.3
-
cpe:2.3:a:ruby-lang:ruby:2.3.4
-
cpe:2.3:a:ruby-lang:ruby:2.3.5
-
cpe:2.3:a:ruby-lang:ruby:2.3.6
-
cpe:2.3:a:ruby-lang:ruby:2.3.7
-
cpe:2.3:a:ruby-lang:ruby:2.4.0
-
cpe:2.3:a:ruby-lang:ruby:2.4.1
-
cpe:2.3:a:ruby-lang:ruby:2.4.2
-
cpe:2.3:a:ruby-lang:ruby:2.4.3
-
cpe:2.3:a:ruby-lang:ruby:2.4.4
-
cpe:2.3:a:ruby-lang:ruby:2.5.0
-
cpe:2.3:a:ruby-lang:ruby:2.5.1
-
cpe:2.3:a:ruby-lang:ruby:2.6.0
-
cpe:2.3:o:canonical:ubuntu_linux:14.04
-
cpe:2.3:o:canonical:ubuntu_linux:16.04
-
cpe:2.3:o:canonical:ubuntu_linux:18.04
-
cpe:2.3:o:canonical:ubuntu_linux:18.10
-
cpe:2.3:o:debian:debian_linux:8.0
-
cpe:2.3:o:debian:debian_linux:9.0
-
cpe:2.3:o:redhat:enterprise_linux:7.4