skip to main content
10.1145/1414004.1414065acmconferencesArticle/Chapter ViewAbstractPublication PagesesemConference Proceedingsconference-collections
research-article

An empirical model to predict security vulnerabilities using code complexity metrics

Published:09 October 2008Publication History

ABSTRACT

Complexity is often hypothesized to be the enemy of software security. If this hypothesis is true, complexity metrics may be used to predict the locale of security problems and can be used to prioritize inspection and testing efforts. We performed statistical analysis on nine complexity metrics from the JavaScript Engine in the Mozilla application framework to find differences in code metrics between vulnerable and nonvulnerable code and to predict vulnerabilities. Our initial results show that complexity metrics can predict vulnerabilities at a low false positive rate, but at a high false negative rate.

References

  1. Basili, V. R., Briand, L. C., and Melo, W. L., "A Validation of Object-Oriented Design Metrics as Quality Indicators," IEEE Transactions on Software Engineering, vol. 22, no.10, pp. 751--761, October, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Boehm, B. W., Software Engineering Economics. Englewood Cliffs, NJ: Prentice-Hall Inc., 1981. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. McCabe, T. J., "A Complexity Measure," IEEE Transactions on Software Engineering, vol. 2, no. 4, pp. 308--320, 1976. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. McGraw, G., Software Security: Building Security In. Boston, NY: Addison-Wesley, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Nagappan, N., Ball, T., and Zeller, A., "Mining Metrics to Predict Component Failures," in Proceedings of Proceedings of the 28th international conference on Software engineering Shanghai, China, May 20-28, 2006, pp. 452--461. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Ott, R. L. and Longnecker, M., An Introduction to Statistical Methods and Data Analysis, 5th edition: Duxbury, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Viega, J. and Mcgraw, G., Building Secure Software. Boston, NY: Addison-Wesley, 2002.Google ScholarGoogle Scholar

Index Terms

  1. An empirical model to predict security vulnerabilities using code complexity metrics

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          ESEM '08: Proceedings of the Second ACM-IEEE international symposium on Empirical software engineering and measurement
          October 2008
          374 pages
          ISBN:9781595939715
          DOI:10.1145/1414004
          • General Chair:
          • Dieter Rombach,
          • Program Chairs:
          • Sebastian Elbaum,
          • Jürgen Münch

          Copyright © 2008 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 9 October 2008

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate130of594submissions,22%

          Upcoming Conference

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader