Investigating Vulnerability-Fixing Commits
An insecure software can cause severe damage to the user experience and privacy. Therefore, developers should prevent software vulnerabilities. However, detecting such problems is expensive and time-consuming. To address this issue, researchers propose vulnerability datasets that facilitate the investigation of their properties. In this regard, we investigate one of these datasets to better understand the vulnerabilities, their corrections, the authors involved, and the properties of the correction commits. Our results indicate that some vulnerabilities require many patches to solve. Furthermore, among the projects included in the target dataset, the Chromium project is the most affected by these vulnerabilities. We also find that in most cases correction commits are small in terms of the number of files and lines affected. Additionally, the authors of the corrections are mostly not new to the files that need fixing. Finally, we find that most corrections involve changes that affect other developers and rarely affect the developer who introduced the problem. Therefore, corrections are usually made by other developers rather than by those who introduced the problem. We believe that our findings can help developers resolve vulnerabilities with fewer resources, such as time, budget, and manpower.
Authors
- Rodrigo Andrade (ORCID: https://orcid.org/0000-0001-9051-5347)
- V.S. Almeida
Institutions
- Universidade Federal de Pernambuco (BR)
- Universidade Federal do Agreste de Pernambuco
Publication Details
- Journal
- Journal of the Brazilian Computer Society
- Published
- 2025-05-15
- DOI
- https://doi.org/10.5753/jbcs.2025.4675
- Primary Topic
- Advanced Malware Detection Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Fundação de Amparo à Ciência e Tecnologia do Estado de Pernambuco