Fixing Vulnerabilities Potentially Hinders Maintainability

Sofia Reis, Rui Abreu, Luis Cruz
6/6/2021
cs.SEcs.CR

Official code: TQRG/maintainable-security (3 stars, TeX, last commit 2021-07-14).

Abstract

Security is a requirement of utmost importance to produce high-quality software. However, there is still a considerable amount of vulnerabilities being discovered and fixed almost weekly.

Show full abstract

We hypothesize that developers affect the maintainability of their codebases when patching vulnerabilities. This paper evaluates the impact of patches to improve security on the maintainability of open-source software. Maintainability is measured based on the Better Code Hub's model of 10 guidelines on a dataset, including 1300 security-related commits. Results show evidence of a trade-off between security and maintainability for 41.90% of the cases, i.e., developers may hinder software maintainability. Our analysis shows that 38.29% of patches increased software complexity and 37.87% of patches increased the percentage of LOCs per unit. The implications of our study are that changes to codebases while patching vulnerabilities need to be performed with extra care; tools for patch risk assessment should be integrated into the CI/CD pipeline; computer science curricula needs to be updated; and, more secure programming languages are necessary.

View on arXivView PDF

Code Implementations(1)

Maintainable Security - Replication Package for "Fixing Vulnerabilities Potentially Hinders Maintainability"

31TeX, PythonDec 5, 20185 years ago
maintainabilityopen-source-softwaresecurity

Similar Papers

Cite this paper

@article{reis2021fixing,
  title  = {Fixing Vulnerabilities Potentially Hinders Maintainability},
  author = {Sofia Reis and Rui Abreu and Luis Cruz},
  year   = {2021},
  eprint = {2106.03271},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.03271}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.03271.svg)](https://codeofpaper.com/paper/2106.03271)

Discussion