From patchwork Wed Apr 21 20:42:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Weber X-Patchwork-Id: 1468872 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=rockwellcollins.com header.i=@rockwellcollins.com header.a=rsa-sha256 header.s=hrcrc2020 header.b=KXuFYBoz; dkim-atps=neutral Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FQXc52Y8Dz9sVq for ; Thu, 22 Apr 2021 06:44:53 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 48A2E83B8F; Wed, 21 Apr 2021 20:44:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oClNWizj-LUb; Wed, 21 Apr 2021 20:44:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id B2FC483437; Wed, 21 Apr 2021 20:44:49 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 37F901BF46D for ; Wed, 21 Apr 2021 20:42:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 1573640628 for ; Wed, 21 Apr 2021 20:42:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=rockwellcollins.com Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iPYLljo2I6iY for ; Wed, 21 Apr 2021 20:42:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from secvs04.rockwellcollins.com (secvs04.rockwellcollins.com [205.175.225.130]) by smtp4.osuosl.org (Postfix) with ESMTPS id E746340629 for ; Wed, 21 Apr 2021 20:42:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rockwellcollins.com; s=hrcrc2020; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=kQEsUAIwzJFfxQEcxhTvExJZ4ejuaTy+6HMRJHL7DXk=; b=KXuFYBoz4A+/ly4EbG0pEFHF8Rwt7Vqk2u/sD4knFYNDjbKJOgE6WwBv R4dd/RbY/7q6UWptYPXTHr4ixKwnVuRuxq2kt/jaq4lfmGp0otVZrhNug i0AvpjaCR2d9V5CVAQkiIksM1EmRHAywyK7sjZcgaaKHx3VjrWN9ZH9BE wsnlGGzPZoSQ7mTCD93kxRkK7p2yqWZyvoHNgZ9tBDSgoj4yQ0WXmXiVe sAEzZ62udCZZ4jrKJ6EmHke07/vMXBw7npeK3rk0sFyw24JRcTqiQCnfU FcJTpbsqYunyJlPE1b4ohudQMmRrSpJDnjOmGsjqohNWYf5jknyDbXvn7 Q==; IronPort-SDR: 3Roo7rzvE69GIzCwaMZp5PvH7BlSyzIdVjqLPK4WbFOBDobRPxWky10vG2Tr55a+jC2pTyDLwe +jSM5iiXVdTUQsDcn5sdZAA9zSEjwGCJkvudm21QEAeFKsETf+kf1SkG01HUA2SFl5ugeobGXC q6IZiR0Ec03ailzZpxdSBRPxzHmivVJxQ7LWLfnSXOEr1BXF7KsiGFYIeBfcYBO0G8It1BsEgf Qxy/RiCF+h8RhnodQtVyNBcNbUqBR1qO/NThl3fXCwuianLdA5Sjb9zAY2/ya3gxO6xz7zx7FW HhY= Received: from ofwgwc03.rockwellcollins.com (HELO crulimr02.rockwellcollins.com) ([205.175.225.12]) by secvs04.rockwellcollins.com with ESMTP; 21 Apr 2021 15:42:37 -0500 X-Received: from biscuits.rockwellcollins.com (biscuits.rockwellcollins.lab [10.148.119.137]) by crulimr02.rockwellcollins.com (Postfix) with ESMTP id 81BD4608D2; Wed, 21 Apr 2021 15:42:37 -0500 (CDT) From: Matt Weber To: buildroot@buildroot.org Date: Wed, 21 Apr 2021 15:42:34 -0500 Message-Id: <20210421204235.5956-10-matthew.weber@rockwellcollins.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210421204235.5956-1-matthew.weber@rockwellcollins.com> References: <20210421204235.5956-1-matthew.weber@rockwellcollins.com> Subject: [Buildroot] [PATCH 09/10] package/rsyslog: ignore CVE-2015-3243 X-BeenThere: buildroot@busybox.net 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: , Cc: Matt Weber MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" https://security-tracker.debian.org/tracker/CVE-2015-3243 "Rsyslog uses weak permissions for generating log files." Ignoring this CVE for Buildroot as normally there are not local users and a build could customize the rsyslog.conf to be more restrictive ($FileCreateMode 0640). Example fix from Alpino Linux https://github.com/libTorrentUser/alpino-linux-aports/commit/3cb5210cdac46fb8805d4028df16f5889f393a09 Signed-off-by: Matthew Weber --- package/rsyslog/rsyslog.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/rsyslog/rsyslog.mk b/package/rsyslog/rsyslog.mk index 1aa81b8eac..6cf53ccb82 100644 --- a/package/rsyslog/rsyslog.mk +++ b/package/rsyslog/rsyslog.mk @@ -9,6 +9,10 @@ RSYSLOG_SITE = http://rsyslog.com/files/download/rsyslog RSYSLOG_LICENSE = GPL-3.0, LGPL-3.0, Apache-2.0 RSYSLOG_LICENSE_FILES = COPYING COPYING.LESSER COPYING.ASL20 RSYSLOG_CPE_ID_VENDOR = rsyslog +# rsyslog uses weak permissions for generating log files. +# Ignoring this CVE as Buildroot normally doesn't have local users and a build +# could customize the rsyslog.conf to be more restrictive ($FileCreateMode 0640) +RSYSLOG_IGNORE_CVES += CVE-2015-3243 RSYSLOG_DEPENDENCIES = zlib libestr liblogging libfastjson host-pkgconf RSYSLOG_CONF_ENV = ac_cv_prog_cc_c99='-std=c99' RSYSLOG_PLUGINS = imdiag imfile impstats imptcp \