CVE-2018-16395
- State
- Published
- Severity
- Not scored
- Published
- Nov 16, 2018
- Updated
- Aug 5, 2024
- Reserved
- Sep 3, 2018
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- https://www.ruby-lang.org/en/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correctly-cve-2018-16395/
- RHSA-2018:3738vendor-advisory
- https://www.ruby-lang.org/en/news/2018/11/06/ruby-2-6-0-preview3-released/
- RHSA-2018:3729vendor-advisory
- https://hackerone.com/reports/387250
- RHSA-2018:3730vendor-advisory
- RHSA-2018:3731vendor-advisory
- https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-3-8-released/
- DSA-4332vendor-advisory
- USN-3808-1vendor-advisory
- https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-4-5-released/
- https://security.netapp.com/advisory/ntap-20190221-0002/
- https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-5-2-released/
- [debian-lts-announce] 20181028 [SECURITY] [DLA 1558-1] ruby2.1 security updatemailing-list
- 1042105vdb-entry
- openSUSE-SU-2019:1771vendor-advisory
- RHSA-2019:1948vendor-advisory
- RHSA-2019:2565vendor-advisory
- https://www.oracle.com/security-alerts/cpujan2020.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.