CVE-2018-16395

CVSS v3.0 9.8 (Critical)
98% Progress
CVSS v2.0 7.5 (High)
75% Progress
EPSS 0.90 % (83th)
0.90% Progress
Affected Products 5
Advisories 16

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.

Weaknesses
CWE-NVD-noinfo
CVE Status
PUBLISHED
CNA
MITRE
Published Date
2018-11-16 18:29:00
(5 years ago)
Updated Date
2019-10-03 00:03:26
(5 years ago)

Affected Products

Loading...
Loading...

Configuration #1

    CPE23 From Up To
  Ruby-lang Openssl for Ruby prior 2.1.2 version cpe:2.3:a:ruby-lang:openssl::*:*:*:*:ruby < 2.1.2
  Ruby-lang Ruby from 2.3.0 version and 2.3.7 and prior versions cpe:2.3:a:ruby-lang:ruby >= 2.3.0 <= 2.3.7
  Ruby-lang Ruby from 2.4.0 version and 2.4.4 and prior versions cpe:2.3:a:ruby-lang:ruby >= 2.4.0 <= 2.4.4
  Ruby-lang Ruby from 2.5.0 version and 2.5.1 and prior versions cpe:2.3:a:ruby-lang:ruby >= 2.5.0 <= 2.5.1
  Ruby-lang Ruby 2.6.0 Preview1 cpe:2.3:a:ruby-lang:ruby:2.6.0:preview1
  Ruby-lang Ruby 2.6.0 Preview2 cpe:2.3:a:ruby-lang:ruby:2.6.0:preview2

Configuration #2

    CPE23 From Up To
  Canonical Ubuntu Linux 14.04 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts
  Canonical Ubuntu Linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts
  Canonical Ubuntu Linux 18.04 cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts
  Canonical Ubuntu Linux 18.10 cpe:2.3:o:canonical:ubuntu_linux:18.10

Configuration #3

    CPE23 From Up To
  Debian Linux 8.0 cpe:2.3:o:debian:debian_linux:8.0
  Debian Linux 9.0 cpe:2.3:o:debian:debian_linux:9.0

Configuration #4

    CPE23 From Up To
  Redhat Enterprise Linux 7.4 cpe:2.3:o:redhat:enterprise_linux:7.4
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...