Bug 750823 - Newly introduced defect into krb5
Summary: Newly introduced defect into krb5
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: krb5
Version: 5.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Nalin Dahyabhai
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-02 13:15 UTC by Michal Luscon
Modified: 2012-11-06 14:16 UTC (History)
6 users (show)

Fixed In Version: krb5-1.6.1-69.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-21 03:19:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2012:0306 0 normal SHIPPED_LIVE Low: krb5 security and bug fix update 2012-02-21 07:24:53 UTC

Description Michal Luscon 2011-11-02 13:15:12 UTC
Coverity scan revealed addition of one new defect into krb5 source codes.

/src/appl/gssftp/ftp/main.c:605 - Variable c->c_name is checked to null and subsequently on the line #614 is called function strlen with parameter c->c_cname without the null check. This can cause NULL dereferencing in function strlen.

Version-Release number of selected component (if applicable):
krb5-1.6.1

Additional info:
This defect was not present in the previous version of krb5 package.

Comment 1 Nalin Dahyabhai 2011-11-02 14:33:57 UTC
Which previous version?

Comment 2 Nalin Dahyabhai 2011-11-02 14:40:25 UTC
For that matter, what's the release number of the current version?  If this is coming in via a patch, that would be _immensely_ useful in finding out which one needs to stop introducing an error.

Comment 3 Ondrej Vasik 2011-11-02 14:55:33 UTC
Previous version means RHEL-5.7 version of the krb5. It was detected by difference scan between krb5-1.6.1-62.el5 and krb5-1.6.1-68.el5 .

Comment 4 Michal Luscon 2011-11-02 14:56:54 UTC
I am sorry that I did not mentioned enough information. This defect was not present in krb5-1.6.1-62.el5.src(RHEL-5.7) and it appeared in krb5-1.6.1-68.el5(RHEL-5.8).

Comment 5 Kamil Dudka 2011-11-02 21:30:56 UTC
(In reply to comment #2)
> For that matter, what's the release number of the current version?  If this is
> coming in via a patch, that would be _immensely_ useful in finding out which
> one needs to stop introducing an error.

I see you already fixed it.  For the others, krb5-1.6.1-ftp_buffer.patch was the cause of this bug report.  We are going to provide more details about the 5.8 difference scan later this week.  Please stay tuned.

Comment 6 Nalin Dahyabhai 2011-11-02 21:53:29 UTC
(In reply to comment #5)
> I see you already fixed it.  For the others, krb5-1.6.1-ftp_buffer.patch was
> the cause of this bug report.  We are going to provide more details about the
> 5.8 difference scan later this week.  Please stay tuned.

Indeed, it's still compiling.  But neither cmdtab[] nor help() were modified by the patch, so without more information it's hard to tell which part of it did this.  Where are the scan results?  Were both scans performed with the same versions of all of the tools involved?

Comment 7 Kamil Dudka 2011-11-02 22:21:14 UTC
(In reply to comment #6)
> Where are the scan results?

We are processing them now, should be available later this week.  Nevertheless, I can provide some preliminary results in case you are in hurry.

> Were both scans performed with the same versions of all of the tools involved?

Yes, they were.

Comment 17 errata-xmlrpc 2012-02-21 03:19:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2012-0306.html


Note You need to log in before you can comment on or make changes to this bug.