[PATCH] cups: whitelist CVE-2021-25317
DORMANTno replies
From: Ross Burton <hidden>
Date: 2021-05-17 11:19:26
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Ross Burton <hidden>
Date: 2021-05-17 11:19:26
Subsystem:
the rest · Maintainer:
Linus Torvalds
This CVE relates to bad ownership of /var/log/cups, which we don't have. Signed-off-by: Ross Burton <redacted> --- meta/recipes-extended/cups/cups.inc | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc
index 9faac08104e..be5a11c944f 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 -- 2.25.1