Litcius/Paper detail

Back to the Past – Analysing Backporting Practices in Package Dependency Networks

Alexandre Decan, Tom Mens, Ahmed Zerouali, Coen De Roover

2021IEEE Transactions on Software Engineering19 citationsDOIOpen Access PDF

Abstract

The practice of backporting aims to bring the benefits of a bug or vulnerability fix from a higher to a lower release of a software package. When such a package adheres to semantic versioning, backports can be recognised as new releases in a lower major train. This is particularly useful in case a substantial number of software packages continues to depend on that lower major train. In this article, we study the backporting practices in four popular package distributions, namely <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Cargo</i> , <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">npm</i> , <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Packagist</i> and <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">RubyGems</i> . We observe that many dependent packages could benefit from backports provided by their dependencies. In particular, we find that a majority of security vulnerabilities affect more than one major train but are only fixed in the highest one, letting thousands of dependent packages exposed to the vulnerability. Despite that, we find that backporting updates is quite infrequent, and mostly practised by long-lived and more active packages for a variety of reasons.

Topics & Concepts

Computer scienceDependency (UML)SoftwareVariety (cybernetics)Vulnerability (computing)World Wide WebProgramming languageArtificial intelligenceComputer securitySoftware Engineering ResearchSoftware Testing and Debugging TechniquesSoftware Reliability and Analysis Research
Back to the Past – Analysing Backporting Practices in Package Dependency Networks | Litcius