The Beauty and the Beast: Vulnerabilities in Red Hat's Packages – Technical Report

by Stephan Neuhaus, Thomas Zimmermann

We show in an empirical study of 3241 Red Hat packages that software vulnerabilities correlate with dependencies between packages. With formal concept analysis and statistical hypothesis testing, we identify dependencies that decrease the risk of vulnerabilities (beauties) or increase the risk (beasts). Using support vector machines on dependency data, our prediction models successfully and consistently catch about two thirds of vulnerable packages (median recall of 0.65). When our models predict a package as vulnerable, it is correct more than eight out of ten times (median precision of 0.83). Our findings help developers to choose new dependencies wisely and make them aware of risky dependencies.

Download as PDF.

Reference

Stephan Neuhaus, Thomas Zimmermann. The Beauty and the Beast: Vulnerabilities in Red Hat's Packages. Technical Report, January 2009.

BibTeX Entry

@techreport{neuhaus-tr-2009,
    title = "The Beauty and the Beast: Vulnerabilities in Red Hat's Packages",
    author = "Stephan Neuhaus and Thomas Zimmermann",
    year = "2009",
    month = "January",
    institution = "Ingegneria e Scienza dell'Informazione, University of Trento",
    number = "DISI-09-007",
}