From: Harlan Stenn Date: Thu, 7 Mar 2019 11:59:40 +0000 (+0000) Subject: NTP_4_2_8P13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9fe79642a4f471fb9c7fbf68daa09a74c5a58f2;p=thirdparty%2Fntp.git NTP_4_2_8P13 bk: 5c8107acQkUZiirtg7buhX8gZdvTfA --- diff --git a/ChangeLog b/ChangeLog index 242a7a46c..9ff845c81 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,9 @@ --- -(4.2.8p13) +(4.2.8p13) 2019/03/07 Released by Harlan Stenn +* [Sec 3565] Crafted null dereference attack in authenticated + mode 6 packet + - reported by Magnus Stubman * [Bug 3560] Fix build when HAVE_DROPROOT is not defined - applied patch by Ian Lepore * [Bug 3558] Crash and integer size bug diff --git a/NEWS b/NEWS index 8dc0f0f72..5cae9372a 100644 --- a/NEWS +++ b/NEWS @@ -1,8 +1,60 @@ +--- +NTP 4.2.8p13 (Harlan Stenn , 2019 Mar 07) + +Focus: Security, Bug fixes, enhancements. + +Severity: MEDIUM + +This release fixes a bug that allows an attacker with access to an +explicitly trusted source to send a crafted malicious mode 6 (ntpq) +packet that can trigger a NULL pointer dereference, crashing ntpd. +It also provides 17 other bugfixes and 1 other improvement: + +* [Sec 3565] Crafted null dereference attack in authenticated + mode 6 packet + - reported by Magnus Stubman +* [Bug 3560] Fix build when HAVE_DROPROOT is not defined + - applied patch by Ian Lepore +* [Bug 3558] Crash and integer size bug + - isolate and fix linux/windows specific code issue +* [Bug 3556] ntp_loopfilter.c snprintf compilation warnings + - provide better function for incremental string formatting +* [Bug 3555] Tidy up print alignment of debug output from ntpdate + - applied patch by Gerry Garvey +* [Bug 3554] config revoke stores incorrect value + - original finding by Gerry Garvey, additional cleanup needed +* [Bug 3549] Spurious initgroups() error message + - patch by Christous Zoulas +* [Bug 3548] Signature not verified on windows system + - finding by Chen Jiabin, plus another one by me +* [Bug 3541] patch to fix STA_NANO struct timex units + - applied patch by Maciej Szmigiero +* [Bug 3540] Cannot set minsane to 0 anymore + - applied patch by Andre Charbonneau +* [Bug 3539] work_fork build fails when droproot is not supported + - applied patch by Baruch Siach +* [Bug 3538] Build fails for no-MMU targets + - applied patch by Baruch Siach +* [Bug 3535] libparse won't handle GPS week rollover + - refactored handling of GPS era based on 'tos basedate' for + parse (TSIP) and JUPITER clocks +* [Bug 3529] Build failures on Mac OS X 10.13 (High Sierra) + - patch by Daniel J. Luke; this does not fix a potential linker + regression issue on MacOS. +* [Bug 3527 - Backward Incompatible] mode7 clockinfo fudgeval2 packet + anomaly , reported by GGarvey. + - --enable-bug3527-fix support by HStenn +* [Bug 3526] Incorrect poll interval in packet + - applied patch by Gerry Garvey +* [Bug 3471] Check for openssl/[ch]mac.h. + - added missing check, reported by Reinhard Max +* [Bug 1674] runtime crashes and sync problems affecting both x86 and x86_64 + - this is a variant of [bug 3558] and should be fixed with it +* Implement 'configure --disable-signalled-io' + -- NTP 4.2.8p12 (Harlan Stenn , 2018/14/09) -NOTE: this NEWS file will be undergoing more revisions. - Focus: Security, Bug fixes, enhancements. Severity: MEDIUM diff --git a/build b/build index 15fe39afa..f6dca6b35 100755 --- a/build +++ b/build @@ -52,7 +52,7 @@ esac case "$NTP_BDIR" in '') case "$IAM" in - *.ntp.org) + *.ntp.org | *.ntfo.org) NTP_BDIR=host ;; *.udel.edu) diff --git a/ntpd/invoke-ntp.conf.texi b/ntpd/invoke-ntp.conf.texi index 7e675877e..132709eec 100644 --- a/ntpd/invoke-ntp.conf.texi +++ b/ntpd/invoke-ntp.conf.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (invoke-ntp.conf.texi) # -# It has been AutoGen-ed August 14, 2018 at 08:29:07 AM by AutoGen 5.18.5 +# It has been AutoGen-ed February 20, 2019 at 09:56:39 AM by AutoGen 5.18.5 # From the definitions ntp.conf.def # and the template file agtexi-file.tpl @end ignore diff --git a/ntpd/invoke-ntp.keys.texi b/ntpd/invoke-ntp.keys.texi index a1f1e9520..9698c5480 100644 --- a/ntpd/invoke-ntp.keys.texi +++ b/ntpd/invoke-ntp.keys.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (invoke-ntp.keys.texi) # -# It has been AutoGen-ed August 14, 2018 at 08:29:10 AM by AutoGen 5.18.5 +# It has been AutoGen-ed February 20, 2019 at 09:56:41 AM by AutoGen 5.18.5 # From the definitions ntp.keys.def # and the template file agtexi-file.tpl @end ignore diff --git a/ntpd/invoke-ntpd.texi b/ntpd/invoke-ntpd.texi index b50529401..16dce2180 100644 --- a/ntpd/invoke-ntpd.texi +++ b/ntpd/invoke-ntpd.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (invoke-ntpd.texi) # -# It has been AutoGen-ed August 14, 2018 at 08:29:12 AM by AutoGen 5.18.5 +# It has been AutoGen-ed February 20, 2019 at 09:56:42 AM by AutoGen 5.18.5 # From the definitions ntpd-opts.def # and the template file agtexi-cmd.tpl @end ignore @@ -142,7 +142,7 @@ with a status code of 0. @exampleindent 0 @example -ntpd - NTP daemon program - Ver. 4.2.8p12 +ntpd - NTP daemon program - Ver. 4.2.8p13 Usage: ntpd [ - [] | --[@{=| @}] ]... \ [ ... ] Flg Arg Option-Name Description @@ -164,7 +164,7 @@ Usage: ntpd [ - [] | --[@{=| @}] ]... \ -g no panicgate Allow the first adjustment to be Big - may appear multiple times -G no force-step-once Step any initial offset correction. - -i Str jaildir Jail directory + -i --- jaildir built without --enable-clockctl or --enable-linuxcaps or --enable-solarisprivs -I Str interface Listen on an interface name or address - may appear multiple times -k Str keyfile path to symmetric keys @@ -187,7 +187,7 @@ Usage: ntpd [ - [] | --[@{=| @}] ]... \ -s Str statsdir Statistics file location -t Str trustedkey Trusted key number - may appear multiple times - -u Str user Run as userid (or userid:groupid) + -u --- user built without --enable-clockctl or --enable-linuxcaps or --enable-solarisprivs -U Num updateinterval interval in seconds between scans for new or dropped interfaces Str var make ARG an ntp variable (RW) - may appear multiple times diff --git a/ntpd/ntp.conf.5man b/ntpd/ntp.conf.5man index e1f061cfe..50ae14f0e 100644 --- a/ntpd/ntp.conf.5man +++ b/ntpd/ntp.conf.5man @@ -10,11 +10,11 @@ .ds B-Font B .ds I-Font I .ds R-Font R -.TH ntp.conf 5man "14 Aug 2018" "4.2.8p12" "File Formats" +.TH ntp.conf 5man "20 Feb 2019" "4.2.8p13" "File Formats" .\" -.\" EDIT THIS FILE WITH CAUTION (/tmp/.ag-2caiQA/ag-bdaaPA) +.\" EDIT THIS FILE WITH CAUTION (in-mem file) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:28:54 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:56:43 AM by AutoGen 5.18.5 .\" From the definitions ntp.conf.def .\" and the template file agman-cmd.tpl .SH NAME diff --git a/ntpd/ntp.conf.5mdoc b/ntpd/ntp.conf.5mdoc index d31c6b761..7d133286e 100644 --- a/ntpd/ntp.conf.5mdoc +++ b/ntpd/ntp.conf.5mdoc @@ -1,9 +1,9 @@ -.Dd August 14 2018 +.Dd February 20 2019 .Dt NTP_CONF 5mdoc File Formats .Os .\" EDIT THIS FILE WITH CAUTION (ntp.mdoc) .\" -.\" It has been AutoGen-ed August 14, 2018 at 08:29:15 AM by AutoGen 5.18.5 +.\" It has been AutoGen-ed February 20, 2019 at 09:56:34 AM by AutoGen 5.18.5 .\" From the definitions ntp.conf.def .\" and the template file agmdoc-cmd.tpl .Sh NAME diff --git a/ntpd/ntp.conf.html b/ntpd/ntp.conf.html index 5439ff7a7..e19e32642 100644 --- a/ntpd/ntp.conf.html +++ b/ntpd/ntp.conf.html @@ -1,128 +1,168 @@ - + + + -NTP Configuration File User's Manual - - - - - - - + +NTP Configuration File User’s Manual + + + + + + + + + + + - -

NTP Configuration File User's Manual

-
-


-Next: , -Previous: (dir), -Up: (dir) -
-
-

NTP's Configuration File User Manual

+ +

NTP Configuration File User’s Manual

-

This document describes the configuration file for the NTP Project's -ntpd program. -

This document applies to version 4.2.8p12 of ntp.conf. -

-

Short Contents

- + + + +
+

+Next: , Previous: , Up: (dir)  

+ +

NTP’s Configuration File User Manual

-