File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ layout : news_post
3+ title : " CVE-2025-24294: resolv gem 中潛在的服務阻斷漏洞"
4+ author : " mame"
5+ translator : " Bear Su"
6+ date : 2025-07-08 07:00:00 +0000
7+ tags : security
8+ lang : zh_tw
9+ ---
10+
11+ 在 Ruby 所包含的 ` resolv ` gem 中發現了一個服務阻斷漏洞。
12+
13+ 該漏洞的 CVE 編號為 [ CVE-2025 -24294] 。
14+
15+ 我們建議您升級 resolv gem。
16+
17+ ## 風險細節
18+
19+ 該漏洞是由於在 DNS 封包中解壓縮的域名長度檢查不足所引起的。
20+
21+ 攻擊者可以製作一個包含高度壓縮域名的惡意 DNS 封包。
22+
23+ 當 ` resolv ` 函式庫解析這樣的封包時,域名解壓縮過程會消耗大量的 CPU 資源,因為該函式庫沒有限制域名解壓縮後的長度。
24+
25+ 這可能導致應用程式執行緒無法回應,從而造成服務阻斷。
26+
27+ ## 受影響版本
28+
29+ 以下 Ruby 系列包含了受影響版本的 resolv gem:
30+
31+ * Ruby 3.2 系列:resolv 版本 0.2.2 和較早版本
32+ * Ruby 3.3 系列:resolv 版本 0.3.0
33+ * Ruby 3.4 系列:resolv 版本 0.6.1 和較早版本
34+
35+ ## 致謝
36+
37+ 感謝 [ Manu] 發現此問題。
38+
39+ ## 歷史
40+
41+ * 最初發布於 2025-07-08 07:00:00 (UTC)
42+
43+ [ CVE-2025-24294 ] : https://www.cve.org/CVERecord?id=CVE-2025-24294
44+ [ Manu ] : https://hackerone.com/manun
You can’t perform that action at this time.
0 commit comments