CVE Vulnerabilities

CVE-2018-16395

Published: Nov 16, 2018 | Modified: Nov 21, 2024
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
7.5 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Affected Software

NameVendorStart VersionEnd Version
OpensslRuby-lang*2.1.2 (excluding)
RubyRuby-lang2.3.0 (including)2.3.7 (including)
RubyRuby-lang2.4.0 (including)2.4.4 (including)
RubyRuby-lang2.5.0 (including)2.5.1 (including)
RubyRuby-lang2.6.0-preview1 (including)2.6.0-preview1 (including)
RubyRuby-lang2.6.0-preview2 (including)2.6.0-preview2 (including)
Red Hat Enterprise Linux 7RedHatruby-0:2.0.0.648-34.el7_6*
Red Hat Enterprise Linux 7.4 Extended Update SupportRedHatruby-0:2.0.0.648-34.el7_4*
Red Hat Enterprise Linux 7.5 Extended Update SupportRedHatruby-0:2.0.0.648-34.el7_5*
Red Hat Software Collections for Red Hat Enterprise Linux 6RedHatrh-ruby23-ruby-0:2.3.8-69.el6*
Red Hat Software Collections for Red Hat Enterprise Linux 6RedHatrh-ruby24-ruby-0:2.4.5-91.el6*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-ruby23-ruby-0:2.3.8-69.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-ruby24-ruby-0:2.4.5-91.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-ruby25-ruby-0:2.5.3-6.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSRedHatrh-ruby23-ruby-0:2.3.8-69.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSRedHatrh-ruby24-ruby-0:2.4.5-91.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUSRedHatrh-ruby25-ruby-0:2.5.3-6.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSRedHatrh-ruby23-ruby-0:2.3.8-69.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSRedHatrh-ruby24-ruby-0:2.4.5-91.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUSRedHatrh-ruby25-ruby-0:2.5.3-6.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHatrh-ruby23-ruby-0:2.3.8-69.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHatrh-ruby24-ruby-0:2.4.5-91.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHatrh-ruby25-ruby-0:2.5.3-6.el7*
Ruby-opensslUbuntubionic*
Ruby-opensslUbuntucosmic*
Ruby-opensslUbuntuupstream*
Ruby1.9.1Ubuntutrusty*
Ruby2.0Ubuntutrusty*
Ruby2.3Ubuntuesm-infra/xenial*
Ruby2.3Ubuntuxenial*
Ruby2.5Ubuntubionic*
Ruby2.5Ubuntucosmic*
Ruby2.5Ubuntudisco*
Ruby2.5Ubuntueoan*
Ruby2.5Ubuntuesm-infra/bionic*

References