Recurring Vulnerability Detection: How Far Are We?
With the rapid development of open-source software, code reuse has become a common practice to accelerate development. However, it leads to inheritance from the original vulnerability, which recurs at the reusing projects, known as recurring vulnerabilities (RVs). Traditional general-purpose vulnerability detection approaches struggle with scalability and adaptability, while learning-based approaches are often constrained by limited training datasets and are less effective against unseen vulnerabilities. Though specific recurring vulnerability detection (RVD) approaches have been proposed, their effectiveness across various RV characteristics remains unclear. In this paper, we conduct a large-scale empirical study using a newly constructed RV dataset containing 4,569 RVs, achieving a 953% expansion over prior RV datasets. Our study analyzes the characteristics of RVs, evaluates the effectiveness of the state-of-the-art RVD approaches, and investigates the root causes of false positives and false negatives, yielding key insights. Inspired by these insights, we design AntMan, a novel RVD approach that identifies both explicit and implicit call relations with modified functions, then employs inter-procedural taint analysis and intra-procedural dependency slicing within those functions to generate comprehensive signatures, and finally incorporates a flexible matching to detect RVs. Our evaluation has shown the effectiveness, generality and practical usefulness in RVD. AntManhas detected 4,593 RVs, with 307 confirmed by developers, and identified 73 new 0-day vulnerabilities across 15 projects, receiving 5 CVE identifiers.
Authors
- Ruisi Wang (ORCID: https://orcid.org/0009-0001-6794-0721)
- Bihuan Chen (ORCID: https://orcid.org/0000-0001-7238-7492)
- Susheng Wu (ORCID: https://orcid.org/0009-0005-2169-7032)
- Yiheng Huang (ORCID: https://orcid.org/0009-0003-4722-3658)
- Yuhua Cao (ORCID: https://orcid.org/0009-0007-6101-8270)
- Xin Peng (ORCID: https://orcid.org/0000-0003-3376-2581)
- Chenhao Lu
- Zhuotong Zhou (ORCID: https://orcid.org/0009-0006-7819-9656)
Institutions
- Fudan University (CN)
Publication Details
- Journal
- Proceedings of the ACM on software engineering.
- Published
- 2025-06-22
- DOI
- https://doi.org/10.1145/3728901
- Citations
- 1
- Primary Topic
- Software Engineering Research
- Type
- article
- Field-Weighted Citation Impact
- 3.25