]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
4.2.4p6
authorHarlan Stenn <stenn@ntp.org>
Thu, 8 Jan 2009 07:57:52 +0000 (02:57 -0500)
committerHarlan Stenn <stenn@ntp.org>
Thu, 8 Jan 2009 07:57:52 +0000 (02:57 -0500)
bk: 4965b200PrappPrv1gJ0-jFmg3wsdA

ChangeLog
NEWS
html/copyright.html
ntpd/ntp_crypto.c
packageinfo.sh

index 6992b8268205b6532062af3ae9b7b2715a5344af..0de7a249eff3f7f3250a4be67dca68166b9b832b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+---
+(4.2.4p6) 2009/01/07 Released by Harlan Stenn <stenn@ntp.org>
+
+* [Sec 1111] Fix incorrect check of EVP_VerifyFinal()'s return value.
+* Update the copyright year.
+
 ---
 (4.2.4p5) 2008/08/17 Released by Harlan Stenn <stenn@ntp.org>
 
diff --git a/NEWS b/NEWS
index 6290fb5b202bd6b8a1ee21c07cb4426597922bb6..2acbe4f5fb44e2b32db6e7007135c37910e4ad68 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,19 @@
+NTP 4.2.4p6 (Harlan Stenn <stenn@ntp.org>, 2009/01/07)
+
+Focus: Security Fix
+
+Severity: Low
+
+This release fixes oCERT.org's CVE-2009-0021, a vulnerability affecting
+the OpenSSL library relating to the incorrect checking of the return
+value of EVP_VerifyFinal function.
+
+Credit for finding this issue goes to the Google Security Team for
+finding the original issue with OpenSSL, and to ocert.org for finding
+the problem in NTP and telling us about it.
+
+This is a recommended upgrade.
+---
 NTP 4.2.4p5 (Harlan Stenn <stenn@ntp.org>, 2008/08/17)
 
 Focus: Minor Bugfixes 
index 471069abcc04b0271448242e7a4099555288e006..cf34979060dbb10980af3d2c791232e399d80429 100644 (file)
@@ -19,7 +19,7 @@
                <pre>
 ***********************************************************************
 *                                                                     *
-* Copyright (c) David L. Mills 1992-2008                              *
+* Copyright (c) David L. Mills 1992-2009                              *
 *                                                                     *
 * Permission to use, copy, modify, and distribute this software and   *
 * its documentation for any purpose with or without fee is hereby     *
index 84adbdda1e567c108f83a775e3c6cb5054f88c32..82afe699b3d170fa44d89e610c96c68f22f6ec02 100644 (file)
@@ -1612,7 +1612,7 @@ crypto_verify(
         */
        EVP_VerifyInit(&ctx, peer->digest);
        EVP_VerifyUpdate(&ctx, (u_char *)&ep->tstamp, vallen + 12);
-       if (!EVP_VerifyFinal(&ctx, (u_char *)&ep->pkt[i], siglen, pkey))
+       if (EVP_VerifyFinal(&ctx, (u_char *)&ep->pkt[i], siglen, pkey) <= 0)
                return (XEVNT_SIG);
 
        if (peer->crypto & CRYPTO_FLAG_VRFY) {
index fe1a4ba1f53b4ea442ec5c48d13f438684a1b6c4..c1e64ceb6a9e78d65017cb59d97df50ed4b3829e 100644 (file)
@@ -16,7 +16,7 @@ special=
 # [???] To start an RC cycle: RC->yes
 # To release from an RC cycle: rcpoint-> GO
 # ReleaseCandidate. 'yes' or 'no'.
-releasecandidate=no
+releasecandidate=yes
 #releasecandidate=no
 # ChangeLog tag
 CLTAG=NTP_4_2_0