Finding error handling bugs in OpenSSL using Coccinelle

Julia Lawall, Ben Laurie, René Rydhof Hansen, Nicolas Jean-Michel Palix, Gilles Muller

30 Citations (Scopus)

Abstract

OpenSSL is a library providing various functionalities relating to secure
network communication.  Detecting and fixing bugs in OpenSSL code is thus
essential, particularly when such bugs can lead to malicious attacks.  In
previous work, we have proposed a methodology for finding API usage
protocols in Linux kernel code using the program matching and transformation
engine Coccinelle.  In this work, we report on our experience in applying
this methodology to OpenSSL, focusing on API usage protocols related to
error handling.  We have detected over 30 bugs in a
recent OpenSSL snapshot, and in many cases it was possible to correct
the bugs automatically.  Our patches correcting these bugs have been
accepted by the OpenSSL developers.  This work furthermore confirms the
applicability of our methodology to user-level code.

Original languageEnglish
Title of host publicationProceedings of the Eighth European Dependable Computing Conference - EDCC-8
Number of pages6
PublisherIEEE
Publication date2010
Pages191-196
ISBN (Print)978-0-7695-4007-8
DOIs
Publication statusPublished - 2010
Event8th European Dependable Computing Conference - Valencia, Spain
Duration: 28 Apr 201030 Apr 2010
Conference number: 8

Conference

Conference8th European Dependable Computing Conference
Number8
Country/TerritorySpain
CityValencia
Period28/04/201030/04/2010

Cite this