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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
9.8 CRITICAL
NETWORK
LOW
NONE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 91%
VendorProductVersion
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-langruby
2.6.0:preview1
ruby-langruby
2.6.0:preview2
canonicalubuntu_linux
14.04
canonicalubuntu_linux
16.04
canonicalubuntu_linux
18.04
canonicalubuntu_linux
18.10
debiandebian_linux
8.0
debiandebian_linux
9.0
redhatenterprise_linux
7.4
𝑥
= Vulnerable software versions
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
ruby-openssl
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
eoan
not-affected
disco
not-affected
cosmic
ignored
bionic
needs-triage
xenial
dne
trusty
dne
ruby1.9.1
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
eoan
dne
disco
dne
cosmic
dne
bionic
dne
xenial
dne
trusty
Fixed 1.9.3.484-2ubuntu1.13
released
ruby2.0
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
eoan
dne
disco
dne
cosmic
dne
bionic
dne
xenial
dne
trusty
Fixed 2.0.0.484-1ubuntu2.11
released
ruby2.3
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
eoan
dne
disco
dne
cosmic
dne
bionic
dne
xenial
Fixed 2.3.1-2~16.04.11
released
trusty
dne
ruby2.5
noble
dne
mantic
dne
lunar
dne
kinetic
dne
jammy
dne
impish
dne
hirsute
dne
groovy
dne
focal
dne
eoan
Fixed 2.5.1-6ubuntu3
released
disco
Fixed 2.5.1-6ubuntu3
released
cosmic
Fixed 2.5.1-5ubuntu4.1
released
bionic
Fixed 2.5.1-1ubuntu1.1
released
xenial
dne
trusty
dne
References