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-7,32. DOI: 10.3969/j.issn.1000x.386x.2025.04.001
Citation: 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-7,32. DOI: 10.3969/j.issn.1000x.386x.2025.04.001

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.KG-*4, 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.
  • loading

Catalog

    Turn off MathJax
    Article Contents

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return