The Vigil@nce team watches public vulnerabilities impacting your computers, and then offers security solutions, a vigilance database and tools to fix them.

Vulnerability of FreeBSD: memory corruption via bsdiff

Synthesis of the vulnerability 

An attacker can generate a memory corruption via bsdiff of FreeBSD, in order to trigger a denial of service, and possibly to run code.
Impacted products: Debian, FreeBSD, openSUSE, openSUSE Leap, pfSense, Ubuntu.
Severity of this bulletin: 2/4.
Creation date: 25/07/2016.
Références of this threat: CVE-2014-9862, DLA-2010-1, DLA-697-1, FreeBSD-SA-16:25.bspatch, FreeBSD-SA-16:29.bspatch, openSUSE-SU-2016:1977-1, pfSense-SA-17_03.webgui, USN-4500-1, VIGILANCE-VUL-20211.

Description of the vulnerability 

The FreeBSD product offers a bspatch tool using bsdiff to generate a file from a difference file.

However, if the difference file contains a number too large, data are written in the heap memory of the process.

An attacker can therefore generate a memory corruption via bsdiff of FreeBSD, in order to trigger a denial of service, and possibly to run code.
Full bulletin, software filtering, emails, fixes, ... (Request your free trial)

This computer weakness announce impacts software or systems such as Debian, FreeBSD, openSUSE, openSUSE Leap, pfSense, Ubuntu.

Our Vigil@nce team determined that the severity of this security alert is medium.

The trust level is of type confirmed by the editor, with an origin of document.

An attacker with a expert ability can exploit this vulnerability.

Solutions for this threat 

FreeBSD: patch for bsdiff.
A patch is available:
  https://security.FreeBSD.org/patches/SA-16:25/bspatch.patch
  https://security.FreeBSD.org/patches/SA-16:29/bspatch.patch

Debian 7: new bsdiff packages.
New packages are available:
  Debian 7: bsdiff 4.3-14+deb7u1

Debian 8: new bsdiff packages.
New packages are available:
  Debian 8: bsdiff 4.3-15+deb8u1

openSUSE: new bsdiff packages.
New packages are available:
  openSUSE Leap 42.1: bsdiff 4.3-9.2
  openSUSE 13.2: bsdiff 4.3-2.5.2

pfSense: version 2.3.3.
The version 2.3.3 is fixed:
  https://www.pfsense.org/download/

Ubuntu 16.04: new bsdiff packages.
New packages are available:
  Ubuntu 16.04 LTS: bsdiff 4.3-15+deb8u1build0.16.04.1
Full bulletin, software filtering, emails, fixes, ... (Request your free trial)

Computer vulnerabilities tracking service 

Vigil@nce provides applications vulnerabilities bulletins. The Vigil@nce security watch publishes vulnerability bulletins about threats impacting the information system.