<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>163692</bug_id>
          
          <creation_ts>2007-01-25 01:43 0000</creation_ts>
          <short_desc>net-dns/bind: DNSSEC error and dereferencing freed fetch context (CVE-2007-049[34])</short_desc>
          <delta_ts>2007-02-18 00:27:09 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Security</product>
          <component>Vulnerabilities</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <status_whiteboard>A/B3 [glsa]</status_whiteboard>
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>rajiv@gentoo.org</reporter>
          <assigned_to>security@gentoo.org</assigned_to>
          <cc>bind@gentoo.org</cc>
    
    <cc>gengor@gentoo.org</cc>
    
    <cc>mips@gentoo.org</cc>
    
    <cc>podge@podgeweb.com</cc>
    
    <cc>sgtphou@fire-eyes.org</cc>
    
    <cc>voxus@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>rajiv@gentoo.org</who>
            <bug_when>2007-01-25 01:43:59 0000</bug_when>
            <thetext>From: 	  Mark_Andrews@isc.org
	Subject: 	Internet Systems Consortium Security Advisory.
	Date: 	January 24, 2007 7:23:26 PM EST
	To: 	  bind-announce@isc.org


                Internet Systems Consortium Security Advisory.
		   BIND 9: dereferencing freed fetch context
                             12 January 2007

Versions affected:

	BIND 9.3.0, 9.3.1, 9.3.2, 9.3.3
        BIND 9.4.0a1, 9.4.0a2, 9.4.0a3, 9.4.0a4, 9.4.0a5, 9.4.0a6, 9.4.0b1
	     9.4.0b2, 9.4.0b3, 9.4.0b4, 9.4.0rc1 
	BIND 9.5.0a1 (Bind Forum only)

Severity: Low
Exploitable: Remotely

Description:

	It is possible for the named to dereference (read) a freed
	fetch context.  This can cause named to exit unintentionally.

Workaround:

	Disable / restrict recursion (to limit exposure).

Fix:

	Upgrade to BIND 9.2.8, BIND 9.3.4 or BIND 9.4.0rc2.
	Additionally this will be fixed in the upcoming BIND 9.5.0a2.

Revision History:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vorlon@gentoo.org</who>
            <bug_when>2007-01-26 14:11:38 0000</bug_when>
            <thetext>pls provide updated ebuilds

this has been fixed in 9.3.4 and 9.2.8</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>keith@email.arizona.edu</who>
            <bug_when>2007-01-30 17:31:42 0000</bug_when>
            <thetext>CVE-2007-0494</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mjolnir@gentoo.org</who>
            <bug_when>2007-02-06 03:07:16 0000</bug_when>
            <thetext>bind and bind/tools 9.2.8, 9.3.4 and 9.4.0_rc2 have been committed to the tree.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-02-06 12:50:10 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; bind and bind/tools 9.2.8, 9.3.4 and 9.4.0_rc2 have been committed to the tree.
&gt; 

Thanks Martin.

Hi arches, please test and mark stable when appropriate, thanks.

Target keywords are bind-9.2.8 and bind-9.3.4
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gustavoz@gentoo.org</who>
            <bug_when>2007-02-06 13:12:17 0000</bug_when>
            <thetext>9.3.4 wants idnkit but idnkit blocks &lt;9.4...
coffee someone?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gustavoz@gentoo.org</who>
            <bug_when>2007-02-06 13:15:03 0000</bug_when>
            <thetext>Oh btw, same for 9.2.8.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>voxus@gentoo.org</who>
            <bug_when>2007-02-06 16:31:30 0000</bug_when>
            <thetext>my fault, wrong idnkit&apos;s block fixed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-02-06 21:12:06 0000</bug_when>
            <thetext>x86 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-02-07 05:37:47 0000</bug_when>
            <thetext>Stable for HPPA.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>voxus@gentoo.org</who>
            <bug_when>2007-02-07 13:21:21 0000</bug_when>
            <thetext>bind-tools must be in sync with bind. i.e. stabilize &apos;em too, please.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gustavoz@gentoo.org</who>
            <bug_when>2007-02-07 13:27:53 0000</bug_when>
            <thetext>sparc stable.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>armin76@gentoo.org</who>
            <bug_when>2007-02-07 13:31:17 0000</bug_when>
            <thetext>x86 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gustavoz@gentoo.org</who>
            <bug_when>2007-02-07 13:57:09 0000</bug_when>
            <thetext>ohhh someone&apos;s not gonna like me... 9.3.4 it still breaks on hardened-x86:

grsec: From xxx.xxx.xxx.xxx: signal 6 sent to /usr/sbin/named[named:11336] uid/euid:40/40 gid/egid:40/40, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0 by /usr/sbin/named[named:852] uid/euid:40/40 gid/egid:40/40, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jer@gentoo.org</who>
            <bug_when>2007-02-07 15:03:14 0000</bug_when>
            <thetext>net-dns/bind-tools-9.3.4 marked stable for HPPA.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>podge@podgeweb.com</who>
            <bug_when>2007-02-08 02:59:24 0000</bug_when>
            <thetext>(In reply to comment #13)
&gt; ohhh someone&apos;s not gonna like me... 9.3.4 it still breaks on hardened-x86:
&gt; 
&gt; grsec: From xxx.xxx.xxx.xxx: signal 6 sent to /usr/sbin/named[named:11336]
&gt; uid/euid:40/40 gid/egid:40/40, parent /sbin/init[init:1] uid/euid:0/0
&gt; gid/egid:0/0 by /usr/sbin/named[named:852] uid/euid:40/40 gid/egid:40/40,
&gt; parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0
&gt; 
Same behavior here on hardened-x86:
grsec: From XXX.XXX.XXX.XXX: signal 6 sent to /usr/sbin/named[named:22469] uid/euid:40/40 gid/egid:40/40, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0 by /usr/sbin/named[named:10807] uid/euid:40/40 gid/egid:40/40, parent /sbin/init[init:1] uid/euid:0/0 gid/egid:0/0

Will happen within a few seconds of named reporting in the logs that is has finished starting up and is running.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mjolnir@gentoo.org</who>
            <bug_when>2007-02-08 03:12:57 0000</bug_when>
            <thetext>I suggest we mask bind for hardened arches only.  Is named the only program that reports a problem?  (i.e. do we need to mask bind-tools too or just bind)?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dertobi123@gentoo.org</who>
            <bug_when>2007-02-08 06:01:34 0000</bug_when>
            <thetext>ppc stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>yoswink@gentoo.org</who>
            <bug_when>2007-02-10 20:17:16 0000</bug_when>
            <thetext>alpha stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-02-10 21:13:14 0000</bug_when>
            <thetext>*** Bug 163691 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cryos@gentoo.org</who>
            <bug_when>2007-02-13 01:46:42 0000</bug_when>
            <thetext>Stable on amd64.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2007-02-13 10:08:55 0000</bug_when>
            <thetext>ppc64 stable</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-02-13 10:32:51 0000</bug_when>
            <thetext>It&apos;s an old and well-known bind issue. I vote Yes for a GLSA.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>taviso@gentoo.org</who>
            <bug_when>2007-02-13 11:16:14 0000</bug_when>
            <thetext>also vote YES.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kloeri@gentoo.org</who>
            <bug_when>2007-02-14 15:59:39 0000</bug_when>
            <thetext>IA64 done.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-02-16 09:06:58 0000</bug_when>
            <thetext>let&apos;s have a GLSA then</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sgtphou@fire-eyes.org</who>
            <bug_when>2007-02-17 22:59:51 0000</bug_when>
            <thetext>I&apos;m hearing from a few people about problems on hardened on amd64 and x86, also mentioned in comment #15 and comment #16 , fyi.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sgtphou@fire-eyes.org</who>
            <bug_when>2007-02-17 23:05:22 0000</bug_when>
            <thetext>In addition, this bug is related (I found that out after i posted last comment, appologies for spam) bug #158664</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>falco@gentoo.org</who>
            <bug_when>2007-02-18 00:27:09 0000</bug_when>
            <thetext>GLSA 200702-06, see bug 158664 for hardened-related issues</thetext>
          </long_desc>
      
    </bug>

</bugzilla>