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

Program vulnerability repair via inductive inference

  • Yuntong Zhang
  • , Xiang Gao*
  • , Gregory J. Duck
  • , Abhik Roychoudhury
  • *此作品的通讯作者
  • National University of Singapore

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

摘要

Program vulnerabilities, even when detected and reported, are not fixed immediately. The time lag between the reporting and fixing of a vulnerability causes open-source software systems to suffer from significant exposure to possible attacks. In this paper, we propose a counter-example guided inductive inference procedure over program states to define likely invariants at possible fix locations. The likely invariants are constructed via mutation over states at the fix location, which turns out to be more effective for inductive property inference, as compared to the usual greybox fuzzing over program inputs. Once such likely invariants, which we call patch invariants, are identified, we can use them to construct patches via simple patch templates. Our work assumes that only one failing input (representing the exploit) is available to start the repair process. Experiments on the VulnLoc data-set of 39 vulnerabilities, which has been curated in previous works on vulnerability repair, show the effectiveness of our repair procedure. As compared to proposed approaches for vulnerability repair such as CPR or SenX which are based on concolic and symbolic execution respectively, we can repair significantly more vulnerabilities. Our results show the potential for program repair via inductive constraint inference, as opposed to generating repair constraints via deductive/symbolic analysis of a given test-suite.

源语言英语
主期刊名ISSTA 2022 - Proceedings of the 31st ACM SIGSOFT International Symposium on Software Testing and Analysis
编辑Sukyoung Ryu, Yannis Smaragdakis
出版商Association for Computing Machinery, Inc
691-702
页数12
ISBN(电子版)9781450393799
DOI
出版状态已出版 - 18 7月 2022
活动31st ACM SIGSOFT International Symposium on Software Testing and Analysis, ISSTA 2022 - Virtual, Online, 韩国
期限: 18 7月 202222 7月 2022

丛书

姓名ISSTA 2022 - Proceedings of the 31st ACM SIGSOFT International Symposium on Software Testing and Analysis

会议

会议31st ACM SIGSOFT International Symposium on Software Testing and Analysis, ISSTA 2022
国家/地区韩国
Virtual, Online
时期18/07/2222/07/22

学术指纹

探究 'Program vulnerability repair via inductive inference' 的科研主题。它们共同构成独一无二的学术指纹。

引用此