Data-Driven Vulnerability Detection and Repair in Java Code
Danfeng (Daphne) Yao
Abstract
Java platform provides various APIs to facilitate secure coding. However, correctly using security APIs is usually challenging for developers who lack cybersecurity training. Prior work shows that many developers misuse security APIs; such misuses can introduce vulnerabilities into software, void security protections, and present security exploits to hackers. To eliminate such API-related vulnerabilities, this paper presents SEADER -- our new approach that detects and repairs security API misuses. Given an exemplar, insecure code snippet, and its secure counterpart, SEADER compares the snippets and conducts data dependence analysis to infer the security API misuse templates and corresponding fixing operations. Based on the inferred information, given a program, SEADER performs inter-procedural static analysis to search for any security API misuse and to propose customized fixing suggestions for those vulnerabilities.
To evaluate SEADER, we applied it to 25
People
Publication Details
- Date of publication:
- February 13, 2021
- Journal:
- Cornell University
- Publication note:
Ying Zhang, Mahir Kabir, Ya Xiao, Danfeng Yao, Na Meng: Data-Driven Vulnerability Detection and Repair in Java Code. CoRR abs/2102.06994 (2021)