Name: Zlib "double free" vulnerability
Docid: enpa-sa-00002
Date: March 23, 2002
Versions affected: All (see below)
Severity: High
Description:
Ethereal uses the Zlib data compression library to read compressed trace files. Prior to version 1.1.4, it was possible to pass data to zlib that would cause it to free memory twice. By default, Ethereal is linked with zlib at compile time. In order to determine if your version of Ethereal is linked with zlib, do one of the following:
ethereal -vor
tethereal -v(the "v" is lowercase").
Impact:
It is possible that arbitrary code could be run by the Ethereal or Tethereal executables if a carefully constructed trace file were read by either application.
Resolution:
On most systems, Ethereal is dynamically linked with libz, and upgrading the library is sufficient. Some systems (primarily Windows) are linked with a static version of libz, and the Ethereal executable must be replaced. Updated Windows binaries will be provided on the Ethereal web site shortly.