跳到主要导航 跳到搜索 跳到主要内容

Industry practice of coverage-guided enterprise-level DBMS fuzzing

  • Mingzhe Wang
  • , Zhiyong Wu
  • , Xinyi Xu
  • , Jie Liang
  • , Chijin Zhou
  • , Huafeng Zhang
  • , Yu Jiang*
  • *此作品的通讯作者
  • Tsinghua University
  • Huawei Technologies Co., Ltd.

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

As an infrastructure for data persistence and analysis, Database Management Systems (DBMSs) are the cornerstones of modern enterprise software. To improve their correctness, the industry has been applying blackbox fuzzing for decades. Recently, the research community achieved impressive fuzzing gains using coverage guidance. However, due to the complexity and distributed nature of enterprise-level DBMSs, seldom are these researches applied to the industry. In this paper, we apply coverage-guided fuzzing to enterprise-level DBMSs from Huawei and Bloomberg LP. In our practice of testing GaussDB and Comdb2, we found major challenges in all three testing stages. The challenges are collecting precise coverage, optimizing fuzzing performance, and analyzing root causes. In search of a general method to overcome these challenges, we propose Ratel, a coverage-guided fuzzer for enterprise-level DBMSs. With its industry-oriented design, Ratel improves the feedback precision, enhances the robustness of input generation, and performs an online investigation on the root cause of bugs. As a result, Ratel outperformed other fuzzers in terms of coverage and bugs. Compared to industrial black box fuzzers SQLsmith and SQLancer, as well as coverage-guided academic fuzzer Squirrel, Ratel covered 38.38%, 106.14%, 583.05% more basic blocks than the best results of other three fuzzers in GaussDB, PostgreSQL, and Comdb2, respectively. More importantly, Ratel has discovered 32, 42, and 5 unknown bugs in GaussDB, Comdb2, and PostgreSQL.

源语言英语
主期刊名Proceedings - 2021 IEEE/ACM 43rd International Conference on Software Engineering
主期刊副标题Software Engineering in Practice, ICSE-SEIP 2021
出版商IEEE Computer Society
328-337
页数10
ISBN(电子版)9780738146690
DOI
出版状态已出版 - 5月 2021
已对外发布
活动43rd IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice, ICSE-SEIP 2021 - Virtual, Online, 西班牙
期限: 25 5月 202128 5月 2021

出版系列

姓名Proceedings - International Conference on Software Engineering
ISSN(印刷版)0270-5257

会议

会议43rd IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice, ICSE-SEIP 2021
国家/地区西班牙
Virtual, Online
时期25/05/2128/05/21

学术指纹

探究 'Industry practice of coverage-guided enterprise-level DBMS fuzzing' 的科研主题。它们共同构成独一无二的学术指纹。

引用此