Does the Vulnerability Threaten Our Projects? Automated Vulnerable API Detection for Third-Party Libraries
Fangyuan Zhang, Lingling Fan, Sen Chen, Miaoying Cai, Sihan Xu, and, Lida Zhao

TL;DR
This paper introduces VAScanner, an automated tool that accurately detects vulnerable APIs in third-party libraries used in Java projects, reducing false positives and negatives compared to existing methods.
Contribution
VAScanner employs patch-based analysis, augmentation, and backward call graph analysis to precisely identify vulnerable APIs in TPLs, outperforming state-of-the-art tools.
Findings
VAScanner reduces false positives by 5.78% and false negatives by 2.16%.
It detects vulnerable APIs with a false positive rate of 1.45%.
Only 21.51% of analyzed projects are threatened by vulnerable TPLs.
Abstract
Developers usually use TPLs to facilitate the development of the projects to avoid reinventing the wheels, however, the vulnerable TPLs indeed cause severe security threats. The majority of existing research only considered whether projects used vulnerable TPLs but neglected whether the vulnerable code of the TPLs was indeed used by the projects, which inevitably results in false positives and further requires additional patching efforts and maintenance costs. To address this, we propose VAScanner, which can effectively identify vulnerable root methods causing vulnerabilities in TPLs and further identify all vulnerable APIs of TPLs used by Java projects. Specifically, we first collect the initial patch methods from the patch commits and extract accurate patch methods by employing a patch-unrelated sifting mechanism, then we further identify the vulnerable root methods for each…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
