USN-3337-1: Valgrind vulnerabilities

21 June 2017

Valgrind could be made to crash or run programs if it opened a specially crafted file.

Releases

Packages

  • valgrind - instrumentation framework for building dynamic analysis tools

Details

It was discovered that Valgrind incorrectly handled certain string
operations. If a user or automated system were tricked into processing a
specially crafted binary, a remote attacker could possibly execute
arbitrary code. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04
LTS and Ubuntu 16.10. (CVE-2016-2226)

It was discovered that Valgrind incorrectly handled parsing certain
binaries. If a user or automated system were tricked into processing a
specially crafted binary, a remote attacker could use this issue to cause
Valgrind to crash, resulting in a denial of service. (CVE-2016-4487,
CVE-2016-4488, CVE-2016-4489, CVE-2016-4490, CVE-2016-4491, CVE-2016-4492,
CVE-2016-4493, CVE-2016-6131)

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 17.04
Ubuntu 16.10
Ubuntu 16.04
Ubuntu 14.04

In general, a standard system update will make all the necessary changes.

Related notices

  • USN-4336-2: binutils-mipsel-linux-gnu, binutils-sh4-linux-gnu, binutils-multiarch-dev, binutils-source, binutils-aarch64-linux-gnu, binutils-alpha-linux-gnu, binutils, binutils-sparc64-linux-gnu, binutils-doc, binutils-mips64el-linux-gnuabi64, binutils-powerpc-linux-gnuspe, binutils-hppa-linux-gnu, binutils-powerpc-linux-gnu, binutils-multiarch, binutils-arm-linux-gnueabi, binutils-powerpc64le-linux-gnu, binutils-dev, binutils-s390x-linux-gnu, binutils-mips64-linux-gnuabi64, binutils-arm-linux-gnueabihf, binutils-mips-linux-gnu, binutils-powerpc64-linux-gnu, binutils-hppa64-linux-gnu, binutils-m68k-linux-gnu
  • USN-3368-1: libiberty, libiberty-dev
  • USN-3367-1: gdb, gdb-minimal, gdb64, gdbserver, gdb-doc, gdb-multiarch, gdb-source