From: Ross Burton Date: Mon, 17 May 2021 11:19:13 +0000 (+0100) Subject: cups: whitelist CVE-2021-25317 X-Git-Tag: uninative-3.2~21 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=0792312f3637ec160d2ef90781a8cb1f75b84940;p=openembedded-core.git cups: whitelist CVE-2021-25317 This CVE relates to bad ownership of /var/log/cups, which we don't have. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index 9faac08104..be5a11c944 100644 --- a/meta/recipes-extended/cups/cups.inc +++ b/meta/recipes-extended/cups/cups.inc @@ -127,3 +127,7 @@ SYSROOT_PREPROCESS_FUNCS += "cups_sysroot_preprocess" cups_sysroot_preprocess () { sed -i ${SYSROOT_DESTDIR}${bindir_crossscripts}/cups-config -e 's:cups_datadir=.*:cups_datadir=${datadir}/cups:' -e 's:cups_serverbin=.*:cups_serverbin=${libexecdir}/cups:' } + +# -25317 concerns /var/log/cups having lp ownership. Our /var/log/cups is +# root:root, so this doesn't apply. +CVE_CHECK_WHITELIST += "CVE-2021-25317" \ No newline at end of file