CVE-2018-16395
ruby2.3 - security update
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.
How to fix CVE-2018-16395
To remediate CVE-2018-16395, upgrade the affected package to a fixed version below.
- —upgrade to 2.5.2-r0 or later
- —upgrade to 2.1.5-2+deb8u6 or later
- —upgrade to 2.3.3-1+deb9u4 or later
- —upgrade to 2.0.9 or later
Is CVE-2018-16395 being exploited?
Low — EPSS is 4.2%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 2.5.2-r0
- from 0, < 2.1.5-2+deb8u6
- from 0, < 2.3.3-1+deb9u4
- from 0, < 2.0.9
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |