Skip to main content
← All vulnerabilities
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, 2.5.x before 2.5.2, and 2.6.x before 2.6.0-preview3

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.9, 2.1.2
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated
  3. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

  • opensslRubyGems

    fixed in 2.0.9

  • opensslRubyGems

    From 2.1.0 · fixed in 2.1.2

References 19

ruby-lang.org

access.redhat.com

hackerone.com

debian.org

usn.ubuntu.com

security.netapp.com

lists.debian.org

securitytracker.com

lists.opensuse.org

oracle.com