Evaluating C/C plus plus Vulnerability Detectability of Query-Based Static Application Security Testing Tools

被引:1
|
作者
Li, Zongjie [1 ]
Liu, Zhibo [1 ]
Wong, Wai Kin [1 ]
Ma, Pingchuan [1 ]
Wang, Shuai [1 ]
机构
[1] HKUST, Dept Comp Sci & Engn, Clear Water Bay, Hong Kong, Peoples R China
关键词
Software; Databases; Security; Computer bugs; Codes; Testing; Software development management; SAST; static analysis; vulnerability detection; CODE ANALYSIS;
D O I
10.1109/TDSC.2024.3354789
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In recent years, query-based static application security testing(Q-SAST) tools such as CodeQL have gained popularity due to their ability to codify vulnerability knowledge into SQL-like queries and search for vulnerabilities in the database derived from the software. The industry has made considerable progress in building Q-SAST tools, facilitating their integration into the continuous integration (CI) pipeline, and sustaining an active community. However, we do not have a systematic understanding of their vulnerability detection capability in comparison to conventional SAST tools. We conduct the first in-depth study of Q-SAST to demystify their C/C++ vulnerability detectability. Our study is conducted from three complementary aspects. We first use a synthetic CWE test suite and a real-world CVE test suite, totaling almost 30 K programs with known CWE/CVE, to assess popular (commercial) Q-SAST and industry-leading SAST (requiring no queries). Then, we gather defect-fixing pull requests (PRs) since the release dates of three popular Q-SAST tools, characterizing historically-fixed defects and comparing them to pitfalls exposed in our CWE/CVE study. To enhance vulnerability detection, we design SAST-MT, a metamorphic testing framework to detect false positives (FPs) and false negatives (FNs) of Q-SAST. Findings of SAST-MT can be used to easily expose the root causes of Q-SAST's FPs and FNs. We summarize lessons from our study that can benefit both users and developers of Q-SAST.
引用
收藏
页码:4600 / 4618
页数:19
相关论文
共 2 条
  • [1] On the Use of Open-Source C/C plus plus Static Analysis Tools in Large Projects
    Pereira, Jose D'Abruzzo
    Vieira, Marco
    2020 16TH EUROPEAN DEPENDABLE COMPUTING CONFERENCE (EDCC 2020), 2020, : 97 - 102
  • [2] Cloud-Based Source Code Security and Vulnerabilities Analysis Tool for C/C plus plus Software Systems
    Crifasi, Elliott
    Pike, Sean
    Stuedemann, Zechariah
    Alnaeli, Saleh M.
    Altahat, Zaid
    2018 IEEE INTERNATIONAL CONFERENCE ON ELECTRO/INFORMATION TECHNOLOGY (EIT), 2018, : 651 - 654