Vulnerability Repair via Concolic Execution and Code Mutations


연구 분야: Strategies



학회: ACM Transactions on Software Engineering and Methodology, Volume 34, Issue 4


초록

Security vulnerabilities detected via techniques like greybox fuzzing are often fixed with a significant time lag. This increases the exposure of the software to vulnerabilities. Automated fixing of vulnerabilities where a tool can generate fix suggestions is thus of value. In this work, we present such a tool, called CrashRepair, to automatically generate fix suggestions using concolic execution, specification inference, and search techniques. Our approach avoids generating fix suggestions merely at the crash location because such fixes often disable the manifestation of the error instead of fixing the error. Instead, based on sanitizer-guided concolic execution, we infer desired constraints at specific program locations and then opportunistically search for code mutations that help respect those constraints. Our technique only requires a single detected vulnerability or exploit as input; it does not require any user-provided properties. Evaluation results on a wide variety of CVEs in the VulnLoc benchmark, show CrashRepair achieves greater efficacy than state-of-the-art vulnerability repair tools like Senx. The repairs suggested come in the form of a ranked set of patches at different locations, and we show that on most occasions, the desired fix is among the top-3 fixes reported by CrashRepair.


Author Profile
Abhik Roychoudhury

National University of Singapore Singapore Singapore

Singapore
Author Profile
Ridwan Salihin Shariffdeen

Department of Computer Science National University of Singapore School of Computing Singapore Singapore

Singapore
Author Profile
Christopher Steven Timperley

Software and Societal Systems Department Carnegie Mellon University Pittsburgh Pennsylvania United States

Andorra

📄 논문 정보

발행 연도 2025년
인용수 1
출판 국가 Germany, Singapore, Andorra, United States
사이트 ACM
좋아요 수 0

연관 논문 목록 (175건)