Bug 491033 (CVE-2009-0844)

Summary: CVE-2009-0844 krb5: buffer over-read in SPNEGO GSS-API mechanism (MITKRB5-SA-2009-001)
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: mjc, nalin, skakar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-0844
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-09 09:35:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 490635, 490636    
Bug Blocks:    
Attachments:
Description Flags
patch to fix MITKRB5-SA-2009-001 issues (CVE-2009-{0844,0845,0847}
none
Updated upstream patch none

Description Vincent Danen 2009-03-19 02:02:52 UTC
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.

Comment 2 Vincent Danen 2009-03-19 02:06:19 UTC
The affected code is not in versions older than krb5 1.5, so only RHEL5 is affected (krb5 1.3.4 is in RHEL4).

Comment 3 Vincent Danen 2009-03-19 02:09:06 UTC
Created attachment 335792 [details]
patch to fix MITKRB5-SA-2009-001 issues (CVE-2009-{0844,0845,0847}

This patch corrects CVE-2009-0844, CVE-2009-0845, and CVE-2009-0846.  Provided by upstream.

Comment 4 Vincent Danen 2009-03-19 02:13:27 UTC
CVE-2009-0845 was previously disclosed, see bug #490634.

Comment 7 Tomas Hoger 2009-04-03 08:15:44 UTC
Created attachment 337997 [details]
Updated upstream patch

Upstream has updated patch for CVE-2009-0844 and CVE-2009-0845, fixing limited buffer over-read possible with previous patch.  Few extra checks were added, and patch for CVE-2009-0845 was changed to provide an error token.

Comment 8 Tomas Hoger 2009-04-07 18:20:52 UTC
Public now via:
  http://web.mit.edu/kerberos/advisories/MITKRB5-SA-2009-001.txt

Comment 9 errata-xmlrpc 2009-04-07 18:47:47 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2009:0408 https://rhn.redhat.com/errata/RHSA-2009-0408.html

Comment 10 Fedora Update System 2009-04-07 23:23:06 UTC
krb5-1.6.3-16.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2009-04-07 23:23:26 UTC
krb5-1.6.3-18.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.