CVE-2018-16396

An issue was discovered 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. It does not taint strings that result from unpacking tainted strings with some formats.

公开: 2018-11-16 最后更新: 2026-06-16 分配方: [email protected] 来源: [email protected]

结论预警: CVE-2018-16396 综合评估为高风险(70.1/100):CVSS 技术影响为高级,利用概率偏高(EPSS 7.97%,百分位 94%) 核心证据: EPSS 显示该漏洞近期被利用的可能性处于高位。 近一日 EPSS 上升 +4.84%,被利用关注度持续升高。 强制指令: 被利用概率偏高—请排查暴露面并优先安排修补。

风险随态势动态变化;本站持续评估并同步更新本页展示内容。

CVE-2018-16396 的 EPSS(利用预测评分)

EPSS 日更估计相对被利用可能性;百分位表示该 CVE 在已评分漏洞中的相对排名(越高表示相对更严重)。

# 日期 旧 EPSS 分数 新 EPSS 分数 变化(新 − 旧)
1 2026-06-15 3.13% 7.97% +4.84%
2 2026-06-02 3.29% 3.13% -0.16%
3 2026-03-04 3.29%

完整 EPSS 历史 (共 63 条)

CVE-2018-16396 的 CVSS 指标

该 CVE 的 CVSS 指标。

底座分 版本 严重度 向量 可利用性 影响 分数来源
8.1 3.0 HIGH
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H 点击展开
攻击向量 (AV:N)
经互联网或企业内可路由网段即可从远端触达,攻击者不必出现在设备旁。
攻击复杂度 (AC:H)
即便网络可达,也常要卡窗口、凑负载或特定版本组合才打得响。
权限要求 (PR:N)
不必事先登录或提权,匿名会话也可能成为跳板。
用户交互 (UI:N)
无需受害者点击链接、放行宏或安装软件,攻击链可自动走完。
作用域 (S:U)
破坏局限在脆弱组件原本的安全权限与信任域之内。
机密性影响 (C:H)
批量读取、导出或长期潜伏窃取机密数据,在实战上成立。
完整性影响 (I:H)
可篡改审计日志、植入后门或大面积伪造业务数据,动摇信任根基。
可用性影响 (A:H)
可造成长时间中断、关键事务无法完成,或伴随数据损毁导致难以自愈。
2.2 5.9 [email protected]
6.8 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P 点击展开
访问路径 (AV:N)
只要路由可达,即可从远端发起利用。
访问复杂度 (AC:M)
需要若干有利条件,但不至于“千年一遇”。
认证 (AU:N)
全程无需有效身份。
机密性影响 (C:P)
机密性受到部分损害。
完整性影响 (I:P)
完整性受到部分损害。
可用性影响 (A:P)
可用性受到部分损害。
8.6 6.4 [email protected]

CVE-2018-16396 的弱点枚举

CVE-2018-16396 的 OS 跟踪

vendor priority summary link
alpine high CVE-2018-16396: 1 source package rows (ruby); 24 state rows across 9 repos (3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 9, open 15. https://security.alpinelinux.org/vuln/CVE-2018-16396
redhat medium https://access.redhat.com/security/cve/CVE-2018-16396
suse medium CVE-2018-16396 severity moderate: SUSE including 309 source package names (2.17-17.3:libruby2_5-2_5-2.5.5-4.3.1, 2.17-17.3:ruby2.5-2.5.5-4.3.1, …), 1022 product×package rows across 252 product lines (Container bci/ruby, Container suse/rmt-server, … (252 product lines)): Fixed 842, Known Affected 157, Known Not Affected 23. https://www.suse.com/security/cve/CVE-2018-16396/
ubuntu medium CVE-2018-16396 medium priority: Ubuntu including 4 source packages (ruby1.9.1, ruby2.0, ruby2.3, ruby2.5), 20 status rows across 5 suites (bionic, cosmic, trusty, upstream, xenial): DNE 11, released 5, needs-triage 4. https://ubuntu.com/security/CVE-2018-16396

CVE-2018-16396 的影响软件 / 配置

厂商 产品 版本 原始 CPE
ruby-lang ruby >= 2.3.0, <= 2.3.7 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
ruby-lang ruby >= 2.4.0, <= 2.4.4 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
ruby-lang ruby >= 2.5.0, <= 2.5.1 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
ruby-lang ruby 2.6.0 cpe:2.3:a:ruby-lang:ruby:2.6.0:preview1:*:*:*:*:*:*
ruby-lang ruby 2.6.0 cpe:2.3:a:ruby-lang:ruby:2.6.0:preview2:*:*:*:*:*:*
canonical ubuntu_linux 14.04 cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 18.04 cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 18.10 cpe:2.3:o:canonical:ubuntu_linux:18.10:*:*:*:*:*:*:*
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
redhat enterprise_linux 6.0 cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
redhat enterprise_linux 7.0 cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
redhat enterprise_linux 7.4 cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:*
redhat enterprise_linux 7.5 cpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:*
redhat enterprise_linux 7.6 cpe:2.3:o:redhat:enterprise_linux:7.6:*:*:*:*:*:*:*

CVE-2018-16396 的参考链接

URL 标签
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00036.html
http://www.securitytracker.com/id/1042106 Third Party Advisory VDB Entry
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-2019:2028
https://hackerone.com/reports/385070 Permissions Required Third Party Advisory
https://lists.debian.org/debian-lts-announce/2018/10/msg00020.html Third Party Advisory
https://security.netapp.com/advisory/ntap-20190221-0002/ Third Party Advisory
https://usn.ubuntu.com/3808-1/ Third Party Advisory
https://www.debian.org/security/2018/dsa-4332 Third Party Advisory
https://www.ruby-lang.org/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/ Vendor Advisory
https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-3-8-released/ Release Notes
https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-4-5-released/ Release Notes
https://www.ruby-lang.org/en/news/2018/10/17/ruby-2-5-2-released/ Release Notes
https://www.ruby-lang.org/en/news/2018/11/06/ruby-2-6-0-preview3-released/ Release Notes
cvelogic Threat Intelligence