File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-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 : GAO Jun
6
+ date : 2025-07-08 07:00:00 +0000
7
+ tags : security
8
+ lang : zh_cn
9
+ ---
10
+
11
+ Ruby 绑定的 ` resolv ` gem 中发现了一个拒绝服务攻击漏洞。
12
+ 此漏洞的 CVE 编号为 [ CVE-2025 -24294] 。
13
+ 我们建议您更新 ` resolv ` gem。
14
+
15
+ ## 详情
16
+
17
+ 此漏洞源于未有效检验 DNS 包中的域名在解压缩后的长度。
18
+
19
+ 攻击者可以构造一个 DNS 包,其中的域名信息经过高度压缩。
20
+ 当 ` resolve ` 库解析这个包时,由于没有限制域名解压缩后的长度,解压缩进程会消耗大量的 CPU 资源。
21
+
22
+ 这样的资源消耗可能会导致应用程序进程无法响应,从而导致拒绝服务。
23
+
24
+ ## 受影响版本
25
+
26
+ 此漏洞影响多个 Ruby 版本系列的绑定 ` resolv ` gem:
27
+
28
+ * Ruby 3.2 系列:` resolv ` 0.2.2 及更早版本
29
+ * Ruby 3.3 系列:` resolv ` 0.3.0
30
+ * Ruby 3.4 系列:` resolv ` 0.6.1 及更早版本
31
+
32
+ ## 致谢
33
+
34
+ 感谢 [ Manu] 发现此问题。
35
+
36
+ ## 历史
37
+
38
+ * 最初发布于 2025-07-08 07:00:00 (UTC)
39
+
40
+ [ CVE-2025-24294 ] : https://www.cve.org/CVERecord?id=CVE-2025-24294
41
+ [ Manu ] : https://hackerone.com/manun
You can’t perform that action at this time.
0 commit comments