CVE-2012-4522

The rb_get_path_check function in file.c in Ruby 1.9.3 before patchlevel 286 and Ruby 2.0.0 before r37163 allows context-dependent attackers to create files in unexpected locations or with unexpected names via a NUL byte in a file path.

公開: 2012-11-24 最後更新: 2026-06-16 指派方: [email protected] 來源: [email protected]

結論預警: CVE-2012-4522 綜合評估為中等風險(50/100):CVSS 技術影響為中級,利用機率(EPSS 2.20%) 核心證據: 近一日 EPSS 上升 +1.98%,被利用關注度持續升高。 強制指令: 梳理受影響資產並納入修補計畫。

風險隨態勢動態變化;本站持續評估並同步更新本頁展示內容。

CVE-2012-4522 的 EPSS(利用預測評分)

EPSS 日更估計相對被利用可能性;百分位表示該 CVE 在已評分漏洞中的相對排名(越高表示相對更嚴重)。

# 日期 舊 EPSS 分數 新 EPSS 分數 變化(新 − 舊)
1 2026-06-15 0.22% 2.20% +1.98%
2 2026-06-04 0.27% 0.22% -0.05%
3 2026-06-02 0.27%

完整 EPSS 歷史 (共 18 筆)

CVE-2012-4522 的 CVSS 指標

該 CVE 的 CVSS 指標。

底座分 版本 嚴重度 向量 可利用性 影響 分數來源
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N 點擊展開
存取路徑 (AV:N)
只要路由可達,即可從遠端發動利用。
存取複雜度 (AC:L)
步驟短、路徑清楚,重現成本低。
認證 (AU:N)
全程無需有效身分。
機密性影響 (C:N)
對機密性無影響。
完整性影響 (I:P)
完整性受到部分損害。
可用性影響 (A:N)
對可用性無影響。
10.0 2.9 [email protected]

CVE-2012-4522 的弱點列舉

CVE-2012-4522 的 OS 追蹤

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2012-4522
ubuntu medium CVE-2012-4522 medium priority: Ubuntu including 3 source packages (ruby1.8, ruby1.9, ruby1.9.1), 21 status rows across 7 suites (hardy, lucid, natty, oneiric, precise, quantal, upstream): not-affected 9, DNE 5, released 4, ignored 2, needs-triage 1. https://ubuntu.com/security/CVE-2012-4522

CVE-2012-4522 的影響軟體 / 設定

廠商 產品 版本 原始 CPE
ruby-lang ruby 1.9.3 cpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*
ruby-lang ruby 2.0.0 cpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*

CVE-2012-4522 的參考連結

cvelogic Threat Intelligence