]> 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)
committerSteve Sakoman <steve@sakoman.com>
Mon, 24 May 2021 17:07:39 +0000 (07:07 -1000)
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>
(cherry picked from commit 0792312f3637ec160d2ef90781a8cb1f75b84940)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-extended/cups/cups.inc

index acad3c98c1b437ee74620c81973dc4473c7fcd3c..151ef065fe05abee5d175c8d4f5655b2be933460 100644 (file)
@@ -116,3 +116,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