Skip to contentSkip to conversation

cups: whitelist CVE-2021-25317

PATCH New Ross Burton 1 participant 1 message May 17, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cups: whitelist CVE-2021-25317

This CVE relates to bad ownership of /var/log/cups, which we don't have.

---
 meta/recipes-extended/cups/cups.inc | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-extended/cups/cups.inc +4 -0
index 9faac08104e..be5a11c944f 100644
@@ -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
Signature · 1 line
2.25.1