USN-3337-1: Valgrind vulnerabilities

21 June 2017

valgrind vulnerabilities

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 17.04
  • Ubuntu 16.10
  • Ubuntu 16.04 LTS
  • Ubuntu 14.04 LTS

Summary

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

Software Description

  • 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
valgrind - 1:3.12.0-1ubuntu1.1
Ubuntu 16.10
valgrind - 1:3.12.0~svn20160714-1ubuntu2.1
Ubuntu 16.04 LTS
valgrind - 1:3.11.0-1ubuntu4.2
Ubuntu 14.04 LTS
valgrind - 1:3.10.1-1ubuntu3~14.5

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

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

References