File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ layout : news_post
3
+ title : " RubyGems 多個安全性風險"
4
+ author : " usa"
5
+ translator : " Vincent Lin"
6
+ date : 2017-08-29 12:00:00 +0000
7
+ tags : security
8
+ lang : zh_tw
9
+ ---
10
+
11
+ Ruby 內建的 RubyGems 發現帶有多個安全性風險。 RubyGems 官方部落格[ 對此事的說明] ( http://blog.rubygems.org/2017/08/27/2.6.13-released.html ) 。
12
+
13
+ ## 詳情
14
+
15
+ 以下為已回報的安全性風險
16
+
17
+ * DNS 請求劫持安全性風險 (CVE-2017 -0902)
18
+ * ANSI 轉義序列安全性風險 (CVE-2017 -0899)
19
+ * ` query ` 命令中的 DoS 安全性風險 (CVE-2017 -0900)
20
+ * 存在於 gem 安裝程式中,一個能讓惡意 gem 隨意複寫檔案的安全性風險 (CVE-2017 -0901)
21
+
22
+ 強烈建議 Ruby 使用者儘速採用下列的因應措施。
23
+
24
+ ## 受影響版本
25
+
26
+ * Ruby 2.2 系列: 2.2.7 以及之前的版本
27
+ * Ruby 2.3 系列: 2.3.4 以及之前的版本
28
+ * Ruby 2.4 系列: 2.4.1 以及之前的版本
29
+ * trunk revision 59672 之前的版本
30
+
31
+ ## 因應措施
32
+
33
+ 目前 Ruby 尚未發布新版本修復上述 RubyGems 的安全性風險,但你可以將 RubyGems 升級至最新版本。RubyGems 2.6.13 或後續版本修正了上述風險。
34
+
35
+ ```
36
+ gem update --system
37
+ ```
38
+
39
+ 若你無法升級 RubyGems ,你可以使用補丁作為應急。
40
+
41
+ * [ 對應 Ruby 2.2.7 的補丁] ( https://bugs.ruby-lang.org/attachments/download/6690/rubygems-2613-ruby22.patch )
42
+ * [ 對應 Ruby 2.3.4 的補丁] ( https://bugs.ruby-lang.org/attachments/download/6691/rubygems-2613-ruby23.patch )
43
+ * 對應 Ruby 2.4.1 則需要兩個補丁,請按照下列依序使用
44
+ 1 . [ RubyGems 2.6.11 to 2.6.12] ( https://bugs.ruby-lang.org/attachments/download/6692/rubygems-2612-ruby24.patch )
45
+ 2 . [ RubyGems 2.6.12 to 2.6.13] ( https://bugs.ruby-lang.org/attachments/download/6693/rubygems-2613-ruby24.patch )
46
+
47
+ 至於 trunk 則是更新到最新版本即可。
48
+
49
+ ## 致謝
50
+
51
+ 本文基於 RubyGems 官方部落格的[ 這篇文章] ( http://blog.rubygems.org/2017/08/27/2.6.13-released.html ) 。
52
+
53
+ ## 歷史
54
+
55
+ * 初次發佈於 2017-08-29 12:00:00 UTC
56
+ * 補充 CVE 編號於 2017-08-31 2:00:00 UTC
You can’t perform that action at this time.
0 commit comments