Finding error handling bugs in OpenSSL using Coccinelle

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

30 Citationer (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.

OriginalsprogEngelsk
TitelProceedings of the Eighth European Dependable Computing Conference - EDCC-8
Antal sider6
ForlagIEEE
Publikationsdato2010
Sider191-196
ISBN (Trykt)978-0-7695-4007-8
DOI
StatusUdgivet - 2010
Begivenhed8th European Dependable Computing Conference - Valencia, Spanien
Varighed: 28 apr. 201030 apr. 2010
Konferencens nummer: 8

Konference

Konference8th European Dependable Computing Conference
Nummer8
Land/OmrådeSpanien
ByValencia
Periode28/04/201030/04/2010

Citationsformater