Patch-Related Vulnerability Detection Based on Symbolic Execution

Autor: Weizhong Qiang, Yuehua Liao, Guozhong Sun, Laurence T. Yang, Deqing Zou, Hai Jin
Jazyk: angličtina
Rok vydání: 2017
Předmět:
Zdroj: IEEE Access, Vol 5, Pp 20777-20784 (2017)
Druh dokumentu: article
ISSN: 2169-3536
DOI: 10.1109/ACCESS.2017.2676161
Popis: During the lifecycle of a software system, software patches are committed to software repositories to fix discovered bugs or append new features. Unfortunately, the patches may bring new bugs or vulnerabilities, which could break the stability and security of the software system. A study shows that more than 15% of software patches are erroneous due to poor testing. In this paper, we present a novel approach for automatically determining whether a patch brings new vulnerabilities. Our approach combines symbolic execution with data flow analysis and static analysis, which allows a quick check of patch-related codes. We focus on typical memory-related vulnerabilities, including buffer overflows, memory leaks, uninitialized data, and dangling pointers. We have implemented our approach as a tool called KPSec, which we used to test a set of real-world software patches. Our experimental results show that our approach can effectively identify typical memory-related vulnerabilities introduced by the patches and improve the security of the updated software.
Databáze: Directory of Open Access Journals