Computer Applications and Software, Volume. 42, Issue 4, 1(2025)
A METHOD FOR FINDING AND PARSING PATCHES FOR OPEN SOURCE SOFTWARE VULNERABILITIES
Patches, as a valuable piece of information for security-related tasks, are often missing in security advisories. In this article, we propose an automated approach, named PatFinder, to find and parse patches for open source software (OSS) vulnerabilities. First, PatFinder identified commits from numerous vulnerability-related references. Then, PatFinder selected patches based on code changes of identified commits and a weighted voting mechanism. Finally, based on designed patch parsing methods, metadata of patches (i.e., paths of modified files and names of functions) was obtained. Our experiment has shown that PatFinder can achieve a coverage of 73.10% and a recall of 0.802, significantly improving the coverage and recall of existing approaches.
Get Citation
Copy Citation Text
Xu Congying, Chen Bihuan, Zhao Wenyun. A METHOD FOR FINDING AND PARSING PATCHES FOR OPEN SOURCE SOFTWARE VULNERABILITIES[J]. Computer Applications and Software, 2025, 42(4): 1
Category:
Received: Jan. 15, 2022
Accepted: Aug. 25, 2025
Published Online: Aug. 25, 2025
The Author Email: