原始描述
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.
受影响的软件
- Ruby ≥ 2.4.0 ≤ 2.4.4= 2.6.0≥ 2.5.0 ≤ 2.5.1≥ 2.3.0 ≤ 2.3.7 精确匹配
详情
- 发布日期
- 2018-11-17
- 最后修改
- 2024-08-05
- CVSS 向量
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- EPSS(30 天内被利用概率)
- 10.72% (百分位 96)
参考资料
- cve.org/CVE-2018-16395
- nvd.nist.gov/vuln/detail/CVE-2018-16395
- www.ruby-lang.org/en/news/2018/10/17/openssl-x509-name-equality-check-does-not-work-correc...
- access.redhat.com/errata/RHSA-2018:3738
- www.ruby-lang.org/en/news/2018/11/06/ruby-2-6-0-preview3-released/
- access.redhat.com/errata/RHSA-2018:3729
- hackerone.com/reports/387250
- access.redhat.com/errata/RHSA-2018:3730
- access.redhat.com/errata/RHSA-2018:3731
- www.ruby-lang.org/en/news/2018/10/17/ruby-2-3-8-released/
- www.debian.org/security/2018/dsa-4332
- usn.ubuntu.com/3808-1/
- www.ruby-lang.org/en/news/2018/10/17/ruby-2-4-5-released/
- security.netapp.com/advisory/ntap-20190221-0002/
本产品使用 NVD API 的数据,但未获得 NVD 的认可或认证。CVE® 是 The MITRE Corporation 的注册商标;CVE 记录依据 CVE Program 使用条款使用。