]> code.ossystems Code Review - openembedded-core.git/commitdiff
logrotate: Exclude CVE-2011-1548,1549,1550 from cve-check
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 May 2021 15:40:11 +0000 (16:40 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 22 May 2021 09:00:45 +0000 (10:00 +0100)
These CVEs apply to the way logrotate was installed on Gentoo, Debian
and SUSE, exclude from cve-check as they don't apply to OE.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/logrotate/logrotate_3.18.0.bb

index 55684ac9fbc533ba4709bf0924eabad455b3c2e3..c2115e7142d911ff5bfe0fcb29dd9b11431682e7 100644 (file)
@@ -21,6 +21,9 @@ SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz
 
 SRC_URI[sha256sum] = "841f81bf09d0014e4a2e11af166bb33fcd8429cc0c2d4a7d3d9ceb3858cfccc5"
 
+# These CVEs are debian, gentoo or SUSE specific on the way logrotate was installed/used
+CVE_CHECK_WHITELIST += "CVE-2011-1548 CVE-2011-1549 CVE-2011-1550"
+
 PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)}"
 
 PACKAGECONFIG[acl] = ",,acl"