講演抄録/キーワード |
講演名 |
2023-05-17 15:25
[招待講演]An Empirical Study of Impact of Solidity Compiler Updates on Vulnerabilities (from BRAIN 2023) ○Chihiro Kado・Naoto Yanai・Jason Paul Cruz(Osaka Univ.)・Shingo Okamura(NIT, Nara College) ISEC2023-11 |
抄録 |
(和) |
Ethereum スマートコントラクトにおいて, 脆弱性は重要な問題である. しかし, 脆弱性検知ツールは様々に開発されているが, コンパイラによる脆弱なコードを除外する機能の有効性については著者の知る限りでは十分に調査されていない. 本稿では, Ethereum スマートコントラクトにおいて脆弱なコントラクトがどの程度作成されているかをコンパイラのバージョンごとに調査する. 具体的には, ソースコードが公開されている503,572件のコントラクトを収集し, その脆弱性を解析した. 重要な3つの脆弱性, Locked Money, Using tx.origin, およびUnchecked Callについて調査し, Solidityコンパイラのメジャーアップデートに伴い, これらの脆弱性が減少していることを確認した. その結果, Locked Moneyの発生率はv0.6以降減少しており, Using tx.originではコンパイラ更新と関係が小さく発生率は小さい. さらに, Unchecked Callはv0.8で発生率は減少しているものの, その割合はコードクローンなどのいくつかの理由から高い値となっているため, 今後も対策が必要である. |
(英) |
Vulnerabilities are an important issue in Ethereum smart contracts. Although various vulnerability analysis tools have been developed, the effectiveness of compilers themselves in eliminating vulnerable code has not been investigated to the best of the author's knowledge. In this paper, we investigate how many vulnerable contracts are created in Ethereum smart contracts for each compiler version. In particular, we collected 503,572 contracts whose Solidity source codes are publicly available in the Ethereum blockchain and then analyzed the vulnerabilities of these contracts. Focused on three vulnerabilities with high-severity, i.e., Locked Money, Using tx.origin, and Unchecked Call, we confirm that the appearance rates of these vulnerabilities are decreased by major updates of the Solidity compiler. We then found the following insights. First, the appearance rate for Locked Money is decreased after version v0.6, and second, that of Using tx.origin is quite limited independently of the compiler update. Third, the appearance rate for Unchecked Call is decreased by v0.8, but it is still high due to several factors, such as code cloning. Thus, countermeasures are needed for Unchecked Call. |
キーワード |
(和) |
Solidity / Ethereumスマートコントラクト / 脆弱性 / 実態調査 / コンパイラ更新 / / / |
(英) |
Solidity / Ethereum smart contracts / vulnerabilities / empirical study / compiler update / / / |
文献情報 |
信学技報, vol. 123, no. 26, ISEC2023-11, pp. 62-64, 2023年5月. |
資料番号 |
ISEC2023-11 |
発行日 |
2023-05-10 (ISEC) |
ISSN |
Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
PDFダウンロード |
ISEC2023-11 |
|