From 4df25bd05444f96482c442c25e12c4c45df5f233 Mon Sep 17 00:00:00 2001 From: Ken Moffat Date: Wed, 31 May 2017 00:07:31 +0000 Subject: [PATCH] Patch libtirpc and rpcbind for CVE-2017-8779. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18771 af4574ff-66df-0310-9fd7-8a98e5e911e0 --- general.ent | 4 ++-- introduction/welcome/changelog.xml | 11 +++++++++++ networking/netlibs/libtirpc.xml | 20 ++++++++++++++++---- networking/netprogs/rpcbind.xml | 28 ++++++++++++++++------------ 4 files changed, 45 insertions(+), 18 deletions(-) diff --git a/general.ent b/general.ent index e3b4051cd2..1fbcfe2ded 100644 --- a/general.ent +++ b/general.ent @@ -1,12 +1,12 @@ - + - + diff --git a/introduction/welcome/changelog.xml b/introduction/welcome/changelog.xml index 240f46b340..8231ec038b 100644 --- a/introduction/welcome/changelog.xml +++ b/introduction/welcome/changelog.xml @@ -41,6 +41,17 @@ --> + + May 30th, 2017 + + + [ken] - Patch rpcbind and libtirpc for the so-called rpcbomb + vulnerability. Fixes + #9284. + + + + May 28th, 2017 diff --git a/networking/netlibs/libtirpc.xml b/networking/netlibs/libtirpc.xml index 748b582fd3..6aaa243adf 100644 --- a/networking/netlibs/libtirpc.xml +++ b/networking/netlibs/libtirpc.xml @@ -72,6 +72,16 @@ + Additional Downloads + + + + Required patch: + + + + + libtirpc Dependencies Optional @@ -95,10 +105,12 @@ commands: -./configure --prefix=/usr \ - --sysconfdir=/etc \ - --disable-static \ - --disable-gssapi && + +patch -Np1 -i ../libtirpc-&libtirpc-version;-vulnerability_fixes-1.patch && +./configure --prefix=/usr \ + --sysconfdir=/etc \ + --disable-static \ + --disable-gssapi && make diff --git a/networking/netprogs/rpcbind.xml b/networking/netprogs/rpcbind.xml index bc2247bc6d..5028c12d55 100644 --- a/networking/netprogs/rpcbind.xml +++ b/networking/netprogs/rpcbind.xml @@ -56,17 +56,17 @@ Estimated build time: &rpcbind-time; - + rpcbind Dependencies Required @@ -102,17 +102,21 @@ useradd -c "RPC Bind Daemon Owner" -d /dev/null -g rpc \ Install rpcbind by running the following commands: -./configure --prefix=/usr \ - --bindir=/sbin \ - --with-rpcuser=root \ - --enable-warmstarts \ - --without-systemdsystemunitdir && +patch -Np1 -i ../rpcbind-&rpcbind-version;-vulnerability_fixes-1.patch && +./configure --prefix=/usr \ + --bindir=/sbin \ + --with-rpcuser=root \ + --enable-warmstarts \ + --without-systemdsystemunitdir && make -./configure --prefix=/usr \ - --bindir=/sbin \ - --enable-warmstarts \ - --with-rpcuser=rpc && + + +patch -Np1 -i ../rpcbind-&rpcbind-version;-vulnerability_fixes-1.patch && + ./configure --prefix=/usr \ + --bindir=/sbin \ + --enable-warmstarts \ + --with-rpcuser=rpc && make This package does not come with a test suite.