From owner-freebsd-security@FreeBSD.ORG Wed Dec 10 17:16:34 2014 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BEB84F93; Wed, 10 Dec 2014 17:16:34 +0000 (UTC) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 6388BFEE; Wed, 10 Dec 2014 17:16:34 +0000 (UTC) Received: from nine.des.no (smtp.des.no [194.63.250.102]) by smtp-int.des.no (Postfix) with ESMTP id BCD7B9760; Wed, 10 Dec 2014 17:16:33 +0000 (UTC) Received: by nine.des.no (Postfix, from userid 1001) id AA71B32AA; Wed, 10 Dec 2014 18:16:34 +0100 (CET) From: FreeBSD Security Advisories To: FreeBSD Security Advisories Subject: FreeBSD Security Advisory FreeBSD-SA-14:29.bind Reply-To: freebsd-security@freebsd.org Precedence: bulk Message-Id: <20141210171634.AA71B32AA@nine.des.no> Date: Wed, 10 Dec 2014 18:16:34 +0100 (CET) X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.18-1 List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2014 17:16:34 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 ============================================================================= FreeBSD-SA-14:29.bind Security Advisory The FreeBSD Project Topic: BIND remote denial of service vulnerability Category: contrib Module: bind Announced: 2014-12-10 Credits: ISC Affects: FreeBSD 8.4, 9.1, 9.2 and 9.3. Corrected: 2014-12-10 08:31:41 UTC (stable/9, 9.3-STABLE) 2014-12-10 08:36:40 UTC (releng/9.3, 9.3-RELEASE-p6) 2014-12-10 08:36:40 UTC (releng/9.2, 9.2-RELEASE-p16) 2014-12-10 08:36:40 UTC (releng/9.1, 9.1-RELEASE-p23) 2014-12-10 08:31:41 UTC (stable/8, 8.4-STABLE) 2014-12-10 08:36:40 UTC (releng/8.4, 8.4-RELEASE-p20) CVE Name: CVE-2014-8500 For general information regarding FreeBSD Security Advisories, including descriptions of the fields above, security branches, and the following sections, please visit . I. Background BIND 9 is an implementation of the Domain Name System (DNS) protocols. The named(8) daemon is an Internet Domain Name Server. II. Problem Description By causing queries to be made against a maliciously-constructed zone or against a malicious DNS server, an attacker who is able to cause specific queries to be sent to a nameserver can cause named(8) to crash, leading to a denial of service. All recursive BIND DNS servers are vulnerable to this. Authoritative servers are only vulnerable if the attacker is able to control a delegation traversed by the authoritative server in order to serve the zone. III. Impact An attacker who can cause specific queries to be sent to a nameserver could cause named(8) to crash, resulting in a denial of service. IV. Workaround No workaround is available, but hosts not running named(8) are not vulnerable. V. Solution Perform one of the following: 1) Upgrade your vulnerable system to a supported FreeBSD stable or release / security branch (releng) dated after the correction date. 2) To update your vulnerable system via a binary patch: Systems running a RELEASE version of FreeBSD on the i386 or amd64 platforms can be updated via the freebsd-update(8) utility: # freebsd-update fetch # freebsd-update install 3) To update your vulnerable system via a source code patch: The following patches have been verified to apply to the applicable FreeBSD release branches. a) Download the relevant patch from the location below, and verify the detached PGP signature using your PGP utility. [FreeBSD 9.3-RELEASE and 9.3-STABLE] # fetch http://security.FreeBSD.org/patches/SA-14:29/bind995.patch # fetch http://security.FreeBSD.org/patches/SA-14:29/bind995.patch.asc # gpg --verify bind995.patch.asc [FreeBSD 9.2-RELEASE] # fetch http://security.FreeBSD.org/patches/SA-14:29/bind984.patch # fetch http://security.FreeBSD.org/patches/SA-14:29/bind984.patch.asc # gpg --verify bind984.patch.asc [FreeBSD 9.1-RELEASE] # fetch http://security.FreeBSD.org/patches/SA-14:29/bind983.patch # fetch http://security.FreeBSD.org/patches/SA-14:29/bind983.patch.asc # gpg --verify bind983.patch.asc [FreeBSD 8.4-STABLE] # fetch http://security.FreeBSD.org/patches/SA-14:29/bind987.patch # fetch http://security.FreeBSD.org/patches/SA-14:29/bind987.patch.asc # gpg --verify bind987.patch.asc [FreeBSD 8.4-RELEASE] # fetch http://security.FreeBSD.org/patches/SA-14:29/bind984.patch # fetch http://security.FreeBSD.org/patches/SA-14:29/bind984.patch.asc # gpg --verify bind984.patch.asc b) Apply the patch. Execute the following commands as root: # cd /usr/src # patch < /path/to/patch c) Recompile the operating system using buildworld and installworld as described in . Restart the applicable daemons, or reboot the system. VI. Correction details The following list contains the correction revision numbers for each affected branch. Branch/path Revision - ------------------------------------------------------------------------- stable/8/ r275669 releng/8.4/ r275672 stable/9/ r275669 releng/9.1/ r275672 releng/9.2/ r275672 releng/9.3/ r275672 - ------------------------------------------------------------------------- To see which files were modified by a particular revision, run the following command, replacing NNNNNN with the revision number, on a machine with Subversion installed: # svn diff -cNNNNNN --summarize svn://svn.freebsd.org/base Or visit the following URL, replacing NNNNNN with the revision number: VII. References The latest revision of this advisory is available at -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJUiA11AAoJEO1n7NZdz2rn7kgP/RWw0Q9dx8/xS+NSypV3Hfqr 6D4Zh8LGsrKuWMGD29MYrFle2Ze5gUfjOFfaqonD2P5vyrCfnyVUhGiIRUKcFn/z dF6XwWKoZHRRHxNL7d71ZRwG3o4gEJP0SWFbfIVUg0YCDdwpChASyHJkXR5rgrTB 6MFDdeNGq+NzQzESmJJyLT/hgWZB0p/g5tLnez+XNxxk4oGywJlNACEq9SfD618Q 86Pl7oFJjaKrAtb7kzI2tYG+UvUHdQriRwo9C87fnSH4TNf2G1VwVoV0Lip45w4I MwJ8j4U3Vqr8cepqc6HSZauIA7N3N1Key7qzcnEP56iIfM1yIg+k7FTeaGM7tw45 lxlrxgLDBpFt+F24cnROagNFZ8o2iWsnaH9ZhEkV6Qabu7eU/XjwKwY9evqqPgeP bCFZeFCxl4DSNTgkLmP+GjXoRxXQ2NokboU7o+KnZGPnxduDK9RG4yx0IvQc3uyv ad+zW4luYGuuIwVXiHif8y7SnOrp4LiVIX04isavaBVSndWC4VenlajoH8IvYxIW P/Bc8J0qxPmEJzZmutzLNQEDEHnxz3o9s/6C7FSASRkMMJ7QXvq0bIdVpkubh0bE PqJVu6WN2KD6tKjuZq4P/WVrRedsRG+qDYb819guIok2kGa6A4tgQ/DAvuZur+do K3JRKm1SZmozOqV/SVmy =uNWP -----END PGP SIGNATURE-----