From 34777763783f6ffab29aaebabc58683c88d56fd1 Mon Sep 17 00:00:00 2001 From: Ken Moffat Date: Fri, 14 Apr 2006 19:23:22 +0000 Subject: [PATCH] Add patch for tar re CVE-2006-0300, to fix ticket #1767. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7520 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 3 +++ chapter03/patches.xml | 7 +++++++ chapter06/tar.xml | 5 +++++ patches.ent | 1 + 4 files changed, 16 insertions(+) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 288978dbb..1ccb98db0 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,9 @@ April 14, 2006 + + [ken] - Add security patch for tar to address CVE-2006-0300. + [archaic] - Upgraded to man-pages-2.29 and linux-2.6.16.5. No command changes. diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 3bb1068b4..202dd3ac3 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -200,6 +200,13 @@ + + Tar Security Fixes Patch - 4 KB: + + + + + Texinfo Multibyte Fixes Patch - 1 KB: diff --git a/chapter06/tar.xml b/chapter06/tar.xml index 2d04c4364..ee06b442e 100644 --- a/chapter06/tar.xml +++ b/chapter06/tar.xml @@ -54,6 +54,11 @@ patch -Np1 -i ../&tar-sparse_fix-patch; + Recent versions of tar are vulnerable to a buffer overflow from + specially crafted archives. The following patch addresses this: + +patch -Np1 -i ../&tar-security_fixes-patch; + Prepare Tar for compilation: ./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin diff --git a/patches.ent b/patches.ent index fa33436cb..03a8f7d40 100644 --- a/patches.ent +++ b/patches.ent @@ -46,6 +46,7 @@ +