From 47333a34d5485fc7788fc121c0bf8e754f8ffc55 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 3 Mar 2010 15:41:00 +0000 Subject: [PATCH] Submitted by: Tomas Hoger Fix for CVE-2010-0433 where some kerberos enabled versions of OpenSSL could be crashed if the relevant tables were not present (e.g. chrooted). --- CHANGES | 6 ++++++ ssl/kssl.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/CHANGES b/CHANGES index 178a68dbda..c0a0cf41c0 100644 --- a/CHANGES +++ b/CHANGES @@ -842,6 +842,12 @@ *) Change 'Configure' script to enable Camellia by default. [NTT] + + Changes between 0.9.8m and 0.9.8n [xx XXX xxxx] + + *) Fix for CVE-2010-0433 where some kerberos enabled versions of OpenSSL + could be crashed if the relevant tables were not present (e.g. chrooted). + [Tomas Hoger ] Changes between 0.9.8l and 0.9.8m [25 Feb 2010] diff --git a/ssl/kssl.c b/ssl/kssl.c index 4fb655285b..b820e37464 100644 --- a/ssl/kssl.c +++ b/ssl/kssl.c @@ -1803,6 +1803,9 @@ kssl_ctx_show(KSSL_CTX *kssl_ctx) kssl_ctx->service_name ? kssl_ctx->service_name: KRB5SVC, KRB5_NT_SRV_HST, &princ); + if (krb5rc) + goto exit; + krb5rc = krb5_kt_get_entry(krb5context, krb5keytab, princ, 0 /* IGNORE_VNO */, -- 2.25.1