Critical severity · published Nov 16, 2018
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
9.8
CVSS
10.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)10.7% · higher than 96% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
8.0; 9.0 · source: NVD
EL
Enterprise Linux · Redhat
7.4 · source: NVD
OP
Openssl · Ruby-lang
before 2.1.2 · source: NVD
RU
Ruby · Ruby-lang
2.3.0 through 2.3.7; 2.4.0 through 2.4.4; 2.5.0 through 2.5.1; 2.6.0; 2.6.0 · source: NVD
UL
Ubuntu Linux · Canonical
14.04; 16.04; 18.04; 18.10 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-16395
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-16395
Mailing List
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
Third Party Advisory
http://www.securitytracker.com/id/1042105
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:3729
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:3730
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:3731
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:3738
More from Ubuntu Linux
9.8
CVE-2020-11651
SaltStack Salt Authentication Bypass Vulnerability
9.8
CVE-2020-7247
OpenSMTPD Remote Code Execution Vulnerability
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2019-16928
Exim Out-of-bounds Write Vulnerability
9.8
CVE-2019-10149
Exim Mail Transfer Agent (MTA) Improper Input Validation
