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