arrow
返回

Context-based statement-level vulnerability localization

delete2024-05-01
delete2
PRE
AI
T
Thu-Trang Nguyen
H
Hieu Dinh Vo *
DOI:10.1016/j.infsof.2024.107406delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Context: The number of attacks exploring software vulnerabilities has dramatically increased, which has caused various severe damages. Thus, early and accurately detecting vulnerabilities becomes essential to guarantee software quality and prevent the systems from malicious attacks. Multiple automated vulnerability detection approaches have been proposed and obtained promising results. However, most studies detect vulnerabilities at a coarse -grained, i.e., file or method level. Thus, developers still have to spend significant investigation efforts on localizing vulnerable statements. Objective: In this paper, we introduce COSTA, a novel context -based approach to localize vulnerable statements. Method: In particular, given a vulnerable function, COSTA identifies vulnerable statements based on their suspiciousness scores. Specifically, the suspiciousness of each statement is measured according to its semantics captured by four contexts, including operation context, dependence context, surrounding context, and vulnerability type. Results: Our experimental results on a large vulnerability dataset show that COSTA outperforms the stateof-the-art approaches up to 96% in F1 -score and 167% in Accuracy. COSTA also surpasses these approaches up to two times in Top -1 Accuracy. Especially, COSTA obtains about 80% at Top -3 Recall. In other words, developers can find about 80% of the vulnerable statements by investigating only three first -ranked statements in each function. Conclusion: COSTA effectively addresses the challenge of statement -level vulnerability localization by leveraging multiple contextual features. Our experimental results show that COSTA outperforms existing state-ofthe-art approaches. With the ability to accurately and efficiently identify vulnerable statements, developers can better allocate their investigation efforts, reduce the risk of potential security threats, and ensure software quality and security in real -world applications.
Keyword:
Vulnerable statement
Vulnerability detection
Vulnerability localization
Context representation
COSTA

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
7.7K

机构

V
vietnam national university hanoi (vnu hanoi) system
学者数:
4.0K
论文数: 2.5K
被引数: 2
引用论文

引用论文

err分享
err收藏
A novel insect-infecting virga/nege-like virus group and its pervasive endogenization into insect genomes
err2019-03-01
err0
PREAI
errHideki Kondo; Sotaro Chiba; Kazuyuki Maruyama; Ida Bagus Andika; Nobuhiro Suzuki
err分享
err收藏
Hemodynamic Exercise Response in Calves with an Implantable Biventricular Centrifugal Blood Pump
err2002-01-11
err0
errOAAI
errJörg Linneweber; Kenji Nonaka; Tamaki Takano; Shinji Kawahito; Sebastian Schulte‐Eistrup; Tadashi Motomura; Seiji Ichikawa; Minoru Mikami; Shelly Stevens; Heinrich Schima; Ernst Wolner; Yukihiko Nosé
err分享
err收藏
IntRepair: Informed Repairing of Integer Overflows
err2021-10-01
err17
errOAAI
errMuntean, Paul; Monperrus, Martin; Sun, Hao; Grossklags, Jens; Eckert, Claudia
err分享
err收藏
err分享
err收藏
Rationale and study design of the Adaptive study of IL-2 dose on regulatory T cells in type 1 diabetes (DILT1D): a non-randomised, open label, adaptive dose finding trial
err2014-06-04
err0
errOAAI
errFrank Waldron-Lynch; Paula Kareclas; Kathryn Irons; Neil M Walker; Adrian Mander; Linda S Wicker; John A Todd; Simon Bond
err分享
err收藏
Metabolomics of Mycobacterium tuberculosis
err2015-02-14
err0
PREAI
errMadhumitha Nandakumar; Gareth A. Prosser; Luiz Pedro S. de Carvalho; Kyu Rhee
err分享
err收藏
Effect of alkalized urine on renal calculi in patients with gout: a protocol for a placebo-controlled, double-blinded randomized controlled trial
err2021-10-26
err0
errOAAI
errErtao Jia; Haiqiong Zhu; Hongling Geng; Yadong Wang; Li Zhong; Shangwen Liu; Feng Lin; Jianyong Zhang
err分享
err收藏
Mutation of the BRCA1 SQ-cluster results in aberrant mitosis, reduced homologous recombination, and a compensatory increase in non-homologous end joining
err2015-08-12
err0
errOAAI
errJason M. Beckta; Seth M. Dever; Nisha Gnawali; Ashraf Khalil; Amrita Sule; Sarah E. Golding; Elizabeth Rosenberg; Aarthi Narayanan; Kylene Kehn-Hall; Bo Xu; Lawrence F. Povirk; Kristoffer Valerie
err分享
err收藏
学者 查看更多内容