From 1d694184b375b493c2926f291e4a696882db78ae Mon Sep 17 00:00:00 2001 From: Ken Moffat Date: Fri, 15 Apr 2022 20:01:35 +0100 Subject: [PATCH] Patch xz for the xzgrep vulnerability. --- chapter01/changelog.xml | 4 ++++ chapter01/whatsnew.xml | 3 +++ chapter03/patches.xml | 8 ++++++++ chapter08/xz.xml | 4 ++++ patches.ent | 4 ++++ 5 files changed, 23 insertions(+) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index b1152d3db..6b2244bdd 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -43,6 +43,10 @@ 2022-04-15 + + [ken] - Patch Xz for a security fix. Fixes + #5047. + [bdubbs] - Update to libcap-2.64. Fixes #5044. diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 4c4e239f9..8acd99833 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -280,6 +280,9 @@ Added: + + &xz-upstream-fix-patch; + &zstd-upstream-fixes-patch; diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 0e22d26c0..83ada1927 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -150,6 +150,14 @@ + + Xz Upstream Fix Patch - &xz-upstream-fix-patch-size;: + + Download: + MD5 sum: &xz-upstream-fix-patch-md5; + + + Zstd Upstream Fixes Patch - &zstd-upstream-fixes-patch-size;: diff --git a/chapter08/xz.xml b/chapter08/xz.xml index e4c43131c..bf108ad34 100644 --- a/chapter08/xz.xml +++ b/chapter08/xz.xml @@ -44,6 +44,10 @@ Installation of Xz + Apply a patch to fix an issue in xzgrep: + +patch -Np1 -i ../&xz-upstream-fix-patch; + Prepare Xz for compilation with: ./configure --prefix=/usr \ diff --git a/patches.ent b/patches.ent index 8f4f0d188..dbbfdc2a6 100644 --- a/patches.ent +++ b/patches.ent @@ -93,6 +93,10 @@ + + + +