File tree Expand file tree Collapse file tree 2 files changed +93
-0
lines changed Expand file tree Collapse file tree 2 files changed +93
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title : addrメッセージスパムによるリモートクラッシュの開示
3
+ name : blog-disclose-addrman-idcount-in-overflow
4
+ id : ja-blog-disclose-addrman-idcount-in-overflow
5
+ lang : ja
6
+ permalink : /ja/2024/07/31/disclose-addrman-int-overflow/
7
+ type : advisory
8
+ layout : post
9
+
10
+ # # If this is a new post, reset this counter to 1.
11
+ version : 1
12
+
13
+ # # Only true if release announcement or security annoucement. English posts only
14
+ announcement : 0
15
+
16
+ excerpt : >
17
+ ノードにaddrメッセージスパムが送信され、ノードをクラッシュさせるために使用される可能性がありました。
18
+ 修正は、2021年9月14日に Bitcoin Core v22.0でリリースされました。
19
+ ---
20
+
21
+ アサーションクラッシュを引き起こす整数オーバーフローバグの詳細を公開しました。
22
+ このバグの修正は、2021年9月14日に Bitcoin Core バージョン v22.0でリリースされました。
23
+
24
+ この問題の重大度は** 高** です。
25
+
26
+ ## 詳細 {#details}
27
+
28
+ ` CAddrMan ` には、32ビットの` nIdCount ` フィールドがあり、addrmanへの挿入ごとに増加し、
29
+ 新しいエントリーの識別子になります。(たとえば、addrメッセージをスパム送信するなど)
30
+ 被害者に2<sup >32</sup >個のエントリーを挿入させると、この識別子がオーバーフローし、アサーションクラッシュが発生します。
31
+
32
+ ## 貢献 {#attribution}
33
+
34
+ Eugene Siegelによる脆弱性の発見と開示と、Pieter Wuilleによる以下の修正に感謝します。
35
+ https://github.com/bitcoin/bitcoin/pull/22387
36
+
37
+ ## タイムライン {#timeline}
38
+
39
+ * 2021-06-21 - Eugene Siegelによる最初のレポートが
[email protected] に送信される
40
+ * 2021-07-19 - 修正がマージされる(https://github.com/bitcoin/bitcoin/pull/22387 )
41
+ * 2021-09-13 - v22.0がリリースされる
42
+ * 2024-07-31 - 公開
43
+
44
+ {% include references.md %}
Original file line number Diff line number Diff line change
1
+ ---
2
+ title : miniupnp依存関係における無限ループバグの影響の開示
3
+ name : blog-disclose-miniupnp-bug-impact
4
+ id : ja-blog-disclose-miniupnp-bug-impact
5
+ lang : ja
6
+ permalink : /ja/2024/07/31/disclose-upnp-oom/
7
+ type : advisory
8
+ layout : post
9
+
10
+ # # If this is a new post, reset this counter to 1.
11
+ version : 1
12
+
13
+ # # Only true if release announcement or security annoucement. English posts only
14
+ announcement : 0
15
+
16
+ excerpt : >
17
+ ローカルネットワーク上の悪意あるUPnPデバイスによってノードがクラッシュする可能性がありました。
18
+ 修正は、2021年9月14日に Bitcoin Core v22.0でリリースされました。
19
+ ---
20
+
21
+ Bitcoin Coreのminiupnp依存関係における無限ループバグの開示。
22
+ 修正は、2021年9月14日に Bitcoin Core v22.0でリリースされました。
23
+
24
+ この問題の重大度は** 低** です。
25
+
26
+ ## 詳細 {#details}
27
+
28
+ Bitcoin Coreで使用されるUPnPライブラリであるMiniupnpは、ネットワーク上のデバイスからランダムなデータを受信するまで、
29
+ 検出を待機します。さらに新しいデバイス情報ごとにメモリを割り当てます。ローカルネットワーク上の攻撃者は、
30
+ UPnPデバイスを装い、Bitcoin Coreノードがメモリを使い果たすまで、肥大化したM-SEARCH応答を送り続ける可能性があります。
31
+
32
+ Miniupnpはデフォルトでオフになっているため、
33
+ <code >-miniupnp</code >オプションを使用して実行しているユーザーのみがこのバグの影響を受けます。
34
+
35
+ ## 貢献 {#attribution}
36
+
37
+ miniupnpプロジェクトに無限ループのバグを報告してくれたRonald Huveneersと、
38
+ OOMをトリガーするPoCエクスプロイトと(修正を含む)依存関係を更新するプルリクエストを
39
+ Bitcoin Coreプロジェクトに報告してくれたMichael Ford (Fanquake)に感謝します。
40
+
41
+ ## タイムライン {#timeline}
42
+
43
+ * 2020-09-17 - Ronald Huveneersによる無限ループバグのminiupnpへの最初の報告
44
+ * 2020-10-13 - Michael Fordによる最初のレポートが
[email protected] に送信される
45
+ * 2021-03-23 - 修正がマージされる(https://github.com/bitcoin/bitcoin/pull/20421 )
46
+ * 2021-09-13 - v22.0がリリースされる
47
+ * 2024-07-31 - 公開
48
+
49
+ {% include references.md %}
You can’t perform that action at this time.
0 commit comments