First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 263398
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Security <security@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Robert Buchholz <rbu@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:
Flags: Requestee:
 
 
  ()

Filename Description Type Creator Created Size Actions
CVE-2009-0844+CVE-2009-0847.patch CVE-2009-0844+CVE-2009-0847.patch patch Robert Buchholz 2009-03-22 19:09 0000 2.03 KB Details | Diff
mit-krb5-1.6.3-r6.ebuild ebuild using the attached patch text/plain Michael Hammer 2009-03-23 09:14 0000 2.60 KB Details
mit-krb5-1.6.3-r6.ebuild ebuild including the latest CVE patch text/plain Michael Hammer 2009-04-02 13:42 0000 2.64 KB Details
CVE-2009-0846.patch CVE patch to comment #10 patch Michael Hammer 2009-04-02 13:43 0000 1.64 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 263398 depends on: Show dependency tree
Bug 263398 blocks:

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2009-03-22 19:07 0000
** Please note that this issue is confidential and no information should be
disclosed until it is made public, see "Whiteboard" for a date **

[CVE-2009-0844]

The MIT krb5 implementation of the SPNEGO GSS-API mechanism can read
beyond the end of a network input buffer.  This can cause a GSS-API 
application to crash by reading from invalid address space.  Under  
theoretically possible but very unlikely conditions, a small        
information leak may occur.  We believe that no successful exploit  
exists that could induce an information leak.

[CVE-2009-0847]

MIT krb5 can perform an incorrect length check inside an ASN.1
decoder.  This only presents a problem in the PK-INIT code paths.  In
the MIT krb5 KDC or kinit program, this could lead to spurious       
malloc() failures or, under some conditions, program crash.  We have 
heard reports of the spurious malloc() failures, but nobody has yet  
made the publicly made the connection to a security issue.

------- Comment #1 From Robert Buchholz 2009-03-22 19:08:20 0000 -------
Note that CVE-2009-0845 will also be covered in MITKRB5-SA-2009-001, but has
been disclosed in bug 262736 previously.

Mueli, please prepare an ebuild applying the patch and attach it to this bug
report. Do not commit anything to CVS, we will do prestable testing on this
bug.

------- Comment #2 From Robert Buchholz 2009-03-22 19:09:28 0000 -------
Created an attachment (id=185901) [details]
CVE-2009-0844+CVE-2009-0847.patch

------- Comment #3 From Michael Hammer 2009-03-23 09:14:08 0000 -------
Created an attachment (id=185967) [details]
ebuild using the attached patch

------- Comment #4 From Michael Hammer 2009-03-23 09:15:25 0000 -------
To build 1.6.3-r6 simply copy the applied patch into $FILESDIR with the given
name.

g, mueli

------- Comment #5 From Robert Buchholz 2009-03-23 10:52:50 0000 -------
Arch Security Liaisons, please test the attached ebuild and report it stable on
this bug.
Target keywords : "alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86"

CC'ing current Liaisons:
   alpha : yoswink, armin76
   amd64 : keytoaster, tester
    hppa : jer
     ppc : dertobi123
   ppc64 : corsair
   sparc : fmccor
     x86 : maekke, armin76

------- Comment #6 From Jeroen Roovers 2009-03-23 16:11:47 0000 -------
OK for HPPA.

------- Comment #7 From Markus Meier 2009-03-23 23:00:56 0000 -------
looks good on amd64/x86.

------- Comment #8 From Markus Rothe 2009-03-24 09:03:57 0000 -------
add ranger

------- Comment #9 From Tobias Heinlein 2009-03-24 14:44:49 0000 -------
Removing yoswink and adding klausman as per armin's request.

------- Comment #10 From Robert Buchholz 2009-03-27 23:28:01 0000 -------
I'm sorry to inform you all that another vulnerability has been brought to our
attention confidentially by MIT upstream, and we should fix this issue as well.
It might allow for remote execution of code with root privileges. I have
forwarded details to mueli, and I hope he will have a new prestable ebuild here
to test shortly.

MITKRB5-SA-2009-002 [CVE-2009-0846]:
ASN.1 decoder frees uninitialized pointer
An ASN.1 decoder can free an uninitialized pointer when decoding an
invalid encoding.  This can cause a Kerberos application to crash, or,
under theoretically possible but unlikely circumstances, execute
arbitrary malicious code.  No exploit is known to exist that would
cause arbitrary code execution.
...
An unauthenticated, remote attacker could cause a
Kerberos application, including the Kerberos administration daemon
(kadmind) or the KDC to crash, and possibly to execute arbitrary code.

Compromise of the KDC or kadmind can compromise the Kerberos key
database and host security on the KDC host.  (The KDC and kadmind
typically run as root.)

Third-party applications using MIT krb5 may also be vulnerable.

------- Comment #11 From Michael Hammer 2009-04-02 13:42:24 0000 -------
Created an attachment (id=187080) [details]
ebuild including the latest CVE patch

------- Comment #12 From Michael Hammer 2009-04-02 13:43:07 0000 -------
Created an attachment (id=187082) [details]
CVE patch to comment #11

------- Comment #13 From Michael Hammer 2009-04-02 13:44:54 0000 -------
(In reply to comment #10)

Sry for the delay. See attached patch and new ebuild using this patch.

g, mueli

------- Comment #14 From Ferris McCormick 2009-04-02 16:34:35 0000 -------
Sparc looks good.

------- Comment #15 From Robert Buchholz 2009-04-02 18:02:36 0000 -------
Adding another new minion for prestable love.

------- Comment #16 From Joe Jezak 2009-04-02 20:02:53 0000 -------
Builds fine and seems to work on ppc/ppc64.

------- Comment #17 From Robert Buchholz 2009-04-07 23:31:21 0000 -------
now public, please commit with the stable keywords gathered ASAP.

------- Comment #18 From Robert Buchholz 2009-04-08 00:49:24 0000 -------
*** Bug 265392 has been marked as a duplicate of this bug. ***

------- Comment #19 From Jeroen Roovers 2009-04-08 04:33:41 0000 -------
(In reply to comment #17)
> now public, please commit with the stable keywords gathered ASAP.

OK for HPPA as well.

------- Comment #20 From Ferris McCormick 2009-04-08 13:33:09 0000 -------
Sure, once it makes it to CVS.

------- Comment #21 From Michael Hammer 2009-04-08 14:29:38 0000 -------
Commited -r6 revision including the patches - sry for missing that ...

g, mueli

------- Comment #22 From Jeroen Roovers 2009-04-08 14:39:49 0000 -------
(In reply to comment #17)
> now public, please commit with the stable keywords gathered ASAP.

The keywords for sparc, ppc{,64} and hppa didn't make it into the ebuild.

------- Comment #23 From Raúl Porcel 2009-04-08 14:40:03 0000 -------
+  08 Apr 2009; Raúl Porcel <armin76@gentoo.org> mit-krb5-1.6.3-r6.ebuild:
+  alpha/arm/ia64/m68k/s390/sh/sparc/x86 stable wrt #263398 and also
+  stabilize on hppa/ppc/ppc64

Remaining: amd64

------- Comment #24 From Tobias Heinlein 2009-04-08 17:55:06 0000 -------
amd64 stable.

------- Comment #25 From Robert Buchholz 2009-04-08 22:47:24 0000 -------
GLSA 200904-09

------- Comment #26 From Alex Legler 2009-04-09 12:09:26 0000 -------
CVE-2009-0844 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-0844):
  The get_input_token function in the SPNEGO implementation in MIT
  Kerberos 5 (aka krb5) 1.5 through 1.6.3 allows remote attackers to
  cause a denial of service (daemon crash) and possibly obtain
  sensitive information via a crafted length value that triggers a
  buffer over-read.

CVE-2009-0846 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-0846):
  The asn1_decode_generaltime function in lib/krb5/asn.1/asn1_decode.c
  in the ASN.1 GeneralizedTime decoder in MIT Kerberos 5 (aka krb5)
  before 1.6.4 allows remote attackers to cause a denial of service
  (daemon crash) or possibly execute arbitrary code via vectors
  involving an invalid DER encoding that triggers a free of an
  uninitialized pointer.

CVE-2009-0847 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2009-0847):
  The asn1buf_imbed function in the ASN.1 decoder in MIT Kerberos 5
  (aka krb5) 1.6.3, when PK-INIT is used, allows remote attackers to
  cause a denial of service (application crash) via a crafted length
  value that triggers an erroneous malloc call, related to incorrect
  calculations with pointer arithmetic.

First Last Prev Next    No search results available      Search page      Enter new bug