Locating the Security Patches for Disclosed OSS Vulnerabilities with Vulnerability-Commit Correlation Ranking
Xin Tan, Yuan Zhang, Chenyuan Mi, Jiajun Cao, Kun Sun, Yifan Lin, Min Yang
摘要
Security patches play an important role in defending against the security threats brought by the increasing OSS vulnerabilities. However, the collection of security patches still remains a challenging problem. Existing works mainly adopt a matching-based design that uses auxiliary information in CVE/NVD to reduce the search scope of patch commits. However, our preliminary study shows that these approaches can only cover a small part of disclosed OSS vulnerabilities (about 12%-53%) even with manual assistance. To facilitate the collection of OSS security patches, this paper proposes a ranking-based approach, named PatchScout, which ranks the code commits in the OSS code repository based on their correlations to a given vulnerability. By exploiting the broad correlations between a vulnerability and code commits, patch commits are expected to be put to front positions in the ranked results. Compared with existing works, our approach could help to locate more security patches and meet a balance between the patch coverage and the manual efforts involved. We evaluate PatchScout with 685 OSS CVEs and the results show that it helps to locate 92.70% patches with acceptable manual workload. To further demonstrate the utility of PatchScout, we perform a study on 5 popular OSS projects and 225 CVEs to understand the patch deployment practice across branches, and we obtain many new findings.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Critical Code Guided Directed Greybox Fuzzing for Commits 引用了 Hawkeye: Towards a Desired Directed Grey-box Fuzzer
- "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security Conferences 引用了 Towards the Detection of Inconsistencies in Public Security Vulnerability Reports
- Understanding the Practice of Security Patch Management across Multiple Branches in OSS Projects 引用了 A Large-Scale Empirical Study of Security Patches
- Understanding the Practice of Security Patch Management across Multiple Branches in OSS Projects 引用了 Understanding the Reproducibility of Crowd-reported Security Vulnerabilities
- Understanding the Practice of Security Patch Management across Multiple Branches in OSS Projects 引用了 Facilitating Vulnerability Assessment through PoC Migration
- Understanding the Practice of Security Patch Management across Multiple Branches in OSS Projects 引用了 Towards the Detection of Inconsistencies in Public Security Vulnerability Reports
- Tracking patches for open source software vulnerabilities 引用了 A Large-Scale Empirical Study of Security Patches
- Tracking patches for open source software vulnerabilities 引用了 VUDDY: A Scalable Approach for Vulnerable Code Clone Discovery
- Tracking patches for open source software vulnerabilities 引用了 Understanding the Reproducibility of Crowd-reported Security Vulnerabilities
- Tracking patches for open source software vulnerabilities 引用了 Towards the Detection of Inconsistencies in Public Security Vulnerability Reports
- Understanding the Reproducibility of Crowd-reported Security Vulnerabilities 引用了 A Large-Scale Empirical Study of Security Patches
- Facilitating Vulnerability Assessment through PoC Migration 引用了 Hawkeye: Towards a Desired Directed Grey-box Fuzzer
- Facilitating Vulnerability Assessment through PoC Migration 引用了 VUDDY: A Scalable Approach for Vulnerable Code Clone Discovery
- Facilitating Vulnerability Assessment through PoC Migration 引用了 Understanding the Reproducibility of Crowd-reported Security Vulnerabilities
- Facilitating Vulnerability Assessment through PoC Migration 引用了 Towards the Detection of Inconsistencies in Public Security Vulnerability Reports
- Towards the Detection of Inconsistencies in Public Security Vulnerability Reports 引用了 Understanding the Reproducibility of Crowd-reported Security Vulnerabilities
引用它的顶会 Paper13
- Tracking patches for open source software vulnerabilitiesCongying Xu, Bihuan Chen, Chenhao Lu, Kaifeng Huang 等FSE 2022 · 34 次引用
- Facilitating Vulnerability Assessment through PoC MigrationJiarun Dai, Yuan Zhang, Hailong Xu, Haiming Lyu 等CCS 2021 · 26 次引用
- "Get in Researchers; We're Measuring Reproducibility": A Reproducibility Study of Machine Learning Papers in Tier 1 Security ConferencesDaniel Olszewski, Allison Lu, Carson Stillman, Kevin Warren 等CCS 2023 · 19 次引用
- Understanding the Practice of Security Patch Management across Multiple Branches in OSS ProjectsXin Tan, Yuan Zhang, Jiajun Cao, Kun Sun 等WWW 2022 · 19 次引用
- Critical Code Guided Directed Greybox Fuzzing for CommitsYi Xiang, Xuhong Zhang, Peiyu Liu, Shouling Ji 等USENIX Security 2024 · 14 次引用
它引用的 Paper14
- VUDDY: A Scalable Approach for Vulnerable Code Clone DiscoverySeulbae Kim, Seunghoon Woo, Heejo Lee, Hakjoo OhS&P 2017 · 388 次引用
- Hawkeye: Towards a Desired Directed Grey-box FuzzerHongxu Chen, Yinxing Xue, Yuekang Li, Bihuan Chen 等CCS 2018 · 335 次引用
- A Large-Scale Empirical Study of Security PatchesFrank Li, Vern PaxsonCCS 2017 · 273 次引用
- Towards the Detection of Inconsistencies in Public Security Vulnerability ReportsYing Dong, Wenbo Guo, Yueqi Chen, Xinyu Xing 等USENIX Security 2019 · 149 次引用
- Understanding the Reproducibility of Crowd-reported Security VulnerabilitiesDongliang Mu, Alejandro Cuevas, Limin Yang, Hang Hu 等USENIX Security 2018 · 138 次引用
相关 Paper
- PatchFinder: A Two-Phase Approach to Security Patch Tracing for Disclosed Vulnerabilities in Open-Source SoftwareKaixuan Li, Jian Zhang, Sen Chen, Han Liu 等ISSTA 2024 · 8 次引用
- Vision: Identifying Affected Library Versions for Open Source Software VulnerabilitiesSusheng Wu, Ruisi Wang, Kaifeng Huang, Yiheng Cao 等ASE 2024 · 1 次引用
- Not Every Patch is an Island: LLM-Enhanced Identification of Multiple Vulnerability PatchesYi Song, Dongchen Xie, Lin Xu, He Zhang 等ASE 2025
- V1SCAN: Discovering 1-day Vulnerabilities in Reused C/C++ Open-source Software Components Using Code Classification TechniquesSeunghoon Woo, Eunjin Choi, Heejo Lee, Hakjoo OhUSENIX Security 2023
- Fine-grained Commit-level Vulnerability Type Prediction by CWE Tree StructureShengyi Pan, Lingfeng Bao, Xin Xia, David Lo 等ICSE 2023 · 30 次引用
