Read the docs
TI-2018-11751 Aliases CVE-2018-16395GHSA-mmrq-6999-72v8

An issue was discovered in the OpenSSL library in Ruby before 2.3.8, 2.4.x before 2.4.5…

Priority MEDIUM 55Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 25 fixed, 4 without a fix

Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

EPSS 0.10715 95th percentileScored 2026-11-07
Fix Partial openssl (RubyGems): 2.0.9, 2.1.2Red Hat: 6 advisoriesRed Hat: 25 fixed, 4 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—openssl (RubyGems)before 2.0.92.0.9Patch availableGHSA-mmrq-6999-72v8
—openssl (RubyGems)2.1.0 to before 2.1.22.1.2Patch availableGHSA-mmrq-6999-72v8
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • openssl (RubyGems) Vendor— Affected before 2.0.9 Fixed in 2.0.9 Patch available GHSA-mmrq-6999-72v8
  • openssl (RubyGems) Vendor— Affected 2.1.0 to before 2.1.2 Fixed in 2.1.2 Patch available GHSA-mmrq-6999-72v8

CPE configurations NVD · 11

CPEVersionsRoleVendor
cpe:2.3:a:ruby-lang:openssl:*:*:*:*:*:ruby:*:*before 2.1.2Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*2.3.0 – 2.3.7; 2.4.0 – 2.4.4; 2.5.0 – 2.5.1Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:2.6.0:preview1:*:*:*:*:*:*2.6.0 preview1Vulnerableruby
cpe:2.3:a:ruby-lang:ruby:2.6.0:preview2:*:*:*:*:*:*2.6.0 preview2Vulnerableruby
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*14.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*16.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*18.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*18.10VulnerableCanonical
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*8.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*9.0VulnerableDebian
  • cpe:2.3:a:ruby-lang:openssl:*:*:*:*:*:ruby:*:* Versions before 2.1.2 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* Versions 2.3.0 – 2.3.7; 2.4.0 – 2.4.4; 2.5.0 – 2.5.1 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:2.6.0:preview1:*:*:*:*:*:* Versions 2.6.0 preview1 Vulnerable ·ruby
  • cpe:2.3:a:ruby-lang:ruby:2.6.0:preview2:*:*:*:*:*:* Versions 2.6.0 preview2 Vulnerable ·ruby
  • cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:* Versions 18.10 Vulnerable ·Canonical
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
Show 1 more CPE
CPEVersionsRoleVendor
cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:*7.4VulnerableRed Hat
  • cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat

Remediation

  • Fix · GHSA-mmrq-6999-72v8 openssl (RubyGems) Fixed in 2.0.9 Advisory →
  • Fix · GHSA-mmrq-6999-72v8 openssl (RubyGems) Fixed in 2.1.2 Advisory →

Red Hat 6 advisories

  • RHSA-2019:2565 Released 2019-08-27 · Red Hat rating Important
    ruby security update
    • Red Hat Enterprise Linux ComputeNode EUS (v. 7.5) ruby-2.0.0.648-34.el7_5, ruby-irb-2.0.0.648-34.el7_5, ruby-libs-2.0.0.648-34.el7_5 +6
    • Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5) ruby-devel-2.0.0.648-34.el7_5, ruby-doc-2.0.0.648-34.el7_5, ruby-tcltk-2.0.0.648-34.el7_5 +3
    • Red Hat Enterprise Linux Server EUS (v. 7.5) ruby-2.0.0.648-34.el7_5, ruby-irb-2.0.0.648-34.el7_5, ruby-libs-2.0.0.648-34.el7_5 +7
    • Red Hat Enterprise Linux Server Optional EUS (v. 7.5) ruby-devel-2.0.0.648-34.el7_5, ruby-doc-2.0.0.648-34.el7_5, ruby-tcltk-2.0.0.648-34.el7_5 +3
  • RHSA-2019:1948 Released 2019-07-30 · Red Hat rating Important
    ruby security update
    • Red Hat Enterprise Linux ComputeNode EUS (v. 7.4) ruby-2.0.0.648-34.el7_4, ruby-irb-2.0.0.648-34.el7_4, ruby-libs-2.0.0.648-34.el7_4 +6
    • Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.4) ruby-devel-2.0.0.648-34.el7_4, ruby-doc-2.0.0.648-34.el7_4, ruby-tcltk-2.0.0.648-34.el7_4 +3
    • Red Hat Enterprise Linux Server EUS (v. 7.4) ruby-2.0.0.648-34.el7_4, ruby-irb-2.0.0.648-34.el7_4, ruby-libs-2.0.0.648-34.el7_4 +7
    • Red Hat Enterprise Linux Server Optional EUS (v. 7.4) ruby-devel-2.0.0.648-34.el7_4, ruby-doc-2.0.0.648-34.el7_4, ruby-tcltk-2.0.0.648-34.el7_4 +3
  • RHSA-2018:3738 Released 2018-11-29 · Red Hat rating Important
    ruby security update
    • Red Hat Enterprise Linux Client (v. 7) ruby-2.0.0.648-34.el7_6, ruby-irb-2.0.0.648-34.el7_6, ruby-libs-2.0.0.648-34.el7_6 +6
    • Red Hat Enterprise Linux Client Optional (v. 7) ruby-devel-2.0.0.648-34.el7_6, ruby-doc-2.0.0.648-34.el7_6, ruby-tcltk-2.0.0.648-34.el7_6 +3
    • Red Hat Enterprise Linux ComputeNode (v. 7) ruby-2.0.0.648-34.el7_6, ruby-irb-2.0.0.648-34.el7_6, ruby-libs-2.0.0.648-34.el7_6 +6
    • Red Hat Enterprise Linux ComputeNode Optional (v. 7) ruby-devel-2.0.0.648-34.el7_6, ruby-doc-2.0.0.648-34.el7_6, ruby-tcltk-2.0.0.648-34.el7_6 +3
    • Red Hat Enterprise Linux Server (v. 7) ruby-2.0.0.648-34.el7_6, ruby-irb-2.0.0.648-34.el7_6, ruby-libs-2.0.0.648-34.el7_6 +7
    • Red Hat Enterprise Linux Server Optional (v. 7) ruby-devel-2.0.0.648-34.el7_6, ruby-doc-2.0.0.648-34.el7_6, ruby-tcltk-2.0.0.648-34.el7_6 +3
    • Red Hat Enterprise Linux Workstation (v. 7) ruby-2.0.0.648-34.el7_6, ruby-irb-2.0.0.648-34.el7_6, ruby-libs-2.0.0.648-34.el7_6 +6
    • Red Hat Enterprise Linux Workstation Optional (v. 7) ruby-devel-2.0.0.648-34.el7_6, ruby-doc-2.0.0.648-34.el7_6, ruby-tcltk-2.0.0.648-34.el7_6 +3
    • Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) ruby-2.0.0.648-34.el7_6, ruby-irb-2.0.0.648-34.el7_6, ruby-libs-2.0.0.648-34.el7_6 +6
    • Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) ruby-devel-2.0.0.648-34.el7_6, ruby-doc-2.0.0.648-34.el7_6, ruby-tcltk-2.0.0.648-34.el7_6 +3
Show 3 more Red Hat advisories
  • RHSA-2018:3731 Released 2018-11-29 · Red Hat rating Important
    rh-ruby25-ruby security, bug fix, and enhancement update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby25-ruby-2.5.3-6.el7, rh-ruby25-ruby-devel-2.5.3-6.el7, rh-ruby25-ruby-doc-2.5.3-6.el7 +17
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ruby25-ruby-2.5.3-6.el7, rh-ruby25-ruby-devel-2.5.3-6.el7, rh-ruby25-ruby-doc-2.5.3-6.el7 +17
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-ruby25-ruby-2.5.3-6.el7, rh-ruby25-ruby-devel-2.5.3-6.el7, rh-ruby25-ruby-doc-2.5.3-6.el7 +17
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-ruby25-ruby-2.5.3-6.el7, rh-ruby25-ruby-devel-2.5.3-6.el7, rh-ruby25-ruby-doc-2.5.3-6.el7 +17
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby25-ruby-2.5.3-6.el7, rh-ruby25-ruby-devel-2.5.3-6.el7, rh-ruby25-ruby-doc-2.5.3-6.el7 +17
  • RHSA-2018:3730 Released 2018-11-29 · Red Hat rating Important
    rh-ruby24-ruby security, bug fix, and enhancement update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-ruby24-ruby-2.4.5-91.el6, rh-ruby24-ruby-devel-2.4.5-91.el6, rh-ruby24-ruby-doc-2.4.5-91.el6 +17
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby24-ruby-2.4.5-91.el7, rh-ruby24-ruby-devel-2.4.5-91.el7, rh-ruby24-ruby-doc-2.4.5-91.el7 +17
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ruby24-ruby-2.4.5-91.el7, rh-ruby24-ruby-devel-2.4.5-91.el7, rh-ruby24-ruby-doc-2.4.5-91.el7 +17
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-ruby24-ruby-2.4.5-91.el7, rh-ruby24-ruby-devel-2.4.5-91.el7, rh-ruby24-ruby-doc-2.4.5-91.el7 +17
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-ruby24-ruby-2.4.5-91.el7, rh-ruby24-ruby-devel-2.4.5-91.el7, rh-ruby24-ruby-doc-2.4.5-91.el7 +17
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-ruby24-ruby-2.4.5-91.el6, rh-ruby24-ruby-devel-2.4.5-91.el6, rh-ruby24-ruby-doc-2.4.5-91.el6 +17
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby24-ruby-2.4.5-91.el7, rh-ruby24-ruby-devel-2.4.5-91.el7, rh-ruby24-ruby-doc-2.4.5-91.el7 +17
  • RHSA-2018:3729 Released 2018-11-29 · Red Hat rating Important
    rh-ruby23-ruby security, bug fix, and enhancement update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-ruby23-ruby-2.3.8-69.el6, rh-ruby23-ruby-devel-2.3.8-69.el6, rh-ruby23-ruby-doc-2.3.8-69.el6 +16
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-ruby23-ruby-2.3.8-69.el7, rh-ruby23-ruby-devel-2.3.8-69.el7, rh-ruby23-ruby-doc-2.3.8-69.el7 +16
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-ruby23-ruby-2.3.8-69.el7, rh-ruby23-ruby-devel-2.3.8-69.el7, rh-ruby23-ruby-doc-2.3.8-69.el7 +16
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-ruby23-ruby-2.3.8-69.el7, rh-ruby23-ruby-devel-2.3.8-69.el7, rh-ruby23-ruby-doc-2.3.8-69.el7 +16
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-ruby23-ruby-2.3.8-69.el7, rh-ruby23-ruby-devel-2.3.8-69.el7, rh-ruby23-ruby-doc-2.3.8-69.el7 +16
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-ruby23-ruby-2.3.8-69.el6, rh-ruby23-ruby-devel-2.3.8-69.el6, rh-ruby23-ruby-doc-2.3.8-69.el6 +16
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-ruby23-ruby-2.3.8-69.el7, rh-ruby23-ruby-devel-2.3.8-69.el7, rh-ruby23-ruby-doc-2.3.8-69.el7 +16

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 5AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Will not fix
Red Hat Subscription Asset ManagerAffectedNo fix planned: Will not fix
Red Hat Virtualization 4AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux Client (v. 7)Fixed RHSA-2018:3738
Red Hat Enterprise Linux Client Optional (v. 7)Fixed RHSA-2018:3738
Red Hat Enterprise Linux ComputeNode (v. 7)Fixed RHSA-2018:3738
Red Hat Enterprise Linux ComputeNode EUS (v. 7.4)Fixed RHSA-2019:1948
Red Hat Enterprise Linux ComputeNode EUS (v. 7.5)Fixed RHSA-2019:2565
Red Hat Enterprise Linux ComputeNode Optional (v. 7)Fixed RHSA-2018:3738
Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.4)Fixed RHSA-2019:1948
Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.5)Fixed RHSA-2019:2565
Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2018:3738
Red Hat Enterprise Linux Server EUS (v. 7.4)Fixed RHSA-2019:1948
Red Hat Enterprise Linux Server EUS (v. 7.5)Fixed RHSA-2019:2565
Red Hat Enterprise Linux Server Optional (v. 7)Fixed RHSA-2018:3738
Red Hat Enterprise Linux Server Optional EUS (v. 7.4)Fixed RHSA-2019:1948
Red Hat Enterprise Linux Server Optional EUS (v. 7.5)Fixed RHSA-2019:2565
Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2018:3738
Red Hat Enterprise Linux Workstation Optional (v. 7)Fixed RHSA-2018:3738
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)Fixed RHSA-2018:3738
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7)Fixed RHSA-2018:3738
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6)Fixed RHSA-2018:3729, RHSA-2018:3730
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2018:3729, RHSA-2018:3730, RHSA-2018:3731
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4)Fixed RHSA-2018:3729, RHSA-2018:3730, RHSA-2018:3731
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5)Fixed RHSA-2018:3729, RHSA-2018:3730, RHSA-2018:3731
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6)Fixed RHSA-2018:3729, RHSA-2018:3730, RHSA-2018:3731
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6)Fixed RHSA-2018:3729, RHSA-2018:3730
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2018:3729, RHSA-2018:3730, RHSA-2018:3731
Not affected: 1 product
  • Red Hat Enterprise Linux 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-16395
  2. 2026-10-03 Alias added: GHSA-mmrq-6999-72v8

References

Sources