CVE-2018-16395

UnknownEPSS 10.71%

Last modified

CVE-2018-16395 is a vulnerability of currently unknown severity. 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. EPSS estimates a 10.71% chance of exploitation in the next 30 days.

Description

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.

Metrics

EPSS Probability
10.71%

95.3th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

VendorProductVersionsUpdate
Ruby-LangOpenssl< 2.1.2
Ruby-LangRuby>= 2.3.0, <= 2.3.7
Ruby-LangRuby>= 2.4.0, <= 2.4.4
Ruby-LangRuby>= 2.5.0, <= 2.5.1
Ruby-LangRuby2.6.0Preview1
CanonicalUbuntu Linux14.04
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux18.04
CanonicalUbuntu Linux18.10
DebianDebian Linux8.0
DebianDebian Linux9.0
RedhatEnterprise Linux7.4

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2018-16395?
Severity scoring for CVE-2018-16395 is pending analysis. The EPSS model estimates a 10.71% probability of exploitation in the next 30 days.
How do I fix CVE-2018-16395?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2018-16395?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST