]> code.ossystems Code Review - openembedded-core.git/commitdiff
cups: whitelist CVE-2021-25317
authorRoss Burton <ross@burtonini.com>
Mon, 17 May 2021 11:19:13 +0000 (12:19 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 May 2021 11:42:19 +0000 (12:42 +0100)
This CVE relates to bad ownership of /var/log/cups, which we don't have.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/cups/cups.inc

index 9faac08104e0eb39fb40bfd916f269807fe43e52..be5a11c944fe5dc5497c848aad82af603164b124 100644 (file)
@@ -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