Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1B96EC433F5 for ; Sat, 15 Jan 2022 09:31:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 9CD4F60B71; Sat, 15 Jan 2022 09:31:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NrbrluINpieD; Sat, 15 Jan 2022 09:31:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id E3C8C60745; Sat, 15 Jan 2022 09:31:26 +0000 (UTC) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id BE54A1BF34B for ; Sat, 15 Jan 2022 09:31:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id B45594010E for ; Sat, 15 Jan 2022 09:31:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DvmujJfF5RnM for ; Sat, 15 Jan 2022 09:31:11 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.122]) by smtp2.osuosl.org (Postfix) with ESMTP id A5C3440004 for ; Sat, 15 Jan 2022 09:31:11 +0000 (UTC) Received: by busybox.osuosl.org (Postfix, from userid 4021) id DB2F7825F7; Sat, 15 Jan 2022 09:24:43 +0000 (UTC) From: Peter Korsgaard To: buildroot@buildroot.org Date: Sat, 15 Jan 2022 09:42:55 +0100 X-Git-Refname: refs/heads/2021.02.x X-Git-Oldrev: 352f8567909a7fde994b4eca4366a90be7ad7d71 X-Git-Newrev: 9088c5ce6f634996db48fa2367e1ca69f721c7bb X-Patchwork-Hint: ignore Message-Id: <20220115092443.DB2F7825F7@busybox.osuosl.org> Subject: [Buildroot] [git commit branch/2021.02.x] package/keepalived: fix CVE-2021-44225 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" commit: https://git.buildroot.net/buildroot/commit/?id=9088c5ce6f634996db48fa2367e1ca69f721c7bb branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x In Keepalived through 2.2.4, the D-Bus policy does not sufficiently restrict the message destination, allowing any user to inspect and manipulate any property. This leads to access-control bypass in some situations in which an unrelated D-Bus system service has a settable (writable) property Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) (cherry picked from commit e4464fabb6323dba4974096886166b9c4631fd38) Signed-off-by: Peter Korsgaard --- ...02-dbus-fix-policy-to-not-be-overly-broad.patch | 42 ++++++++++++++++++++++ package/keepalived/keepalived.mk | 3 ++ 2 files changed, 45 insertions(+) diff --git a/package/keepalived/0002-dbus-fix-policy-to-not-be-overly-broad.patch b/package/keepalived/0002-dbus-fix-policy-to-not-be-overly-broad.patch new file mode 100644 index 0000000000..6287d6117d --- /dev/null +++ b/package/keepalived/0002-dbus-fix-policy-to-not-be-overly-broad.patch @@ -0,0 +1,42 @@ +From 7977fec0be89ae6fe87405b3f8da2f0b5e415e3d Mon Sep 17 00:00:00 2001 +From: Vincent Bernat +Date: Tue, 23 Nov 2021 06:50:59 +0100 +Subject: [PATCH] dbus: fix policy to not be overly broad + +The DBus policy did not restrict the message destination, allowing any +user to inspect and manipulate any property. + +Signed-off-by: Vincent Bernat + +[Retrieved from: +https://github.com/acassen/keepalived/commit/7977fec0be89ae6fe87405b3f8da2f0b5e415e3d] +Signed-off-by: Fabrice Fontaine +--- + keepalived/dbus/org.keepalived.Vrrp1.conf | 13 ++++++++----- + 1 file changed, 8 insertions(+), 5 deletions(-) + +diff --git a/keepalived/dbus/org.keepalived.Vrrp1.conf b/keepalived/dbus/org.keepalived.Vrrp1.conf +index 2b78a575c..b5ced6085 100644 +--- a/keepalived/dbus/org.keepalived.Vrrp1.conf ++++ b/keepalived/dbus/org.keepalived.Vrrp1.conf +@@ -3,12 +3,15 @@ + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> + + +- +- ++ ++ + + +- +- +- ++ ++ ++ + + diff --git a/package/keepalived/keepalived.mk b/package/keepalived/keepalived.mk index 5d42cab741..e31c02dec5 100644 --- a/package/keepalived/keepalived.mk +++ b/package/keepalived/keepalived.mk @@ -12,6 +12,9 @@ KEEPALIVED_LICENSE_FILES = COPYING KEEPALIVED_CPE_ID_VENDOR = keepalived KEEPALIVED_CONF_OPTS = --disable-hardening +# 0002-dbus-fix-policy-to-not-be-overly-broad.patch +KEEPALIVED_IGNORE_CVES += CVE-2021-44225 + ifeq ($(BR2_PACKAGE_JSON_C),y) KEEPALIVED_DEPENDENCIES += json-c KEEPALIVED_CONF_OPTS += --enable-json _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot