summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalph Siemsen <ralph.siemsen@linaro.org>2021-09-14 15:15:47 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-11 18:41:38 +0100
commit45dace7e9f8fd3a7251f276092871ef443d9de7b (patch)
tree5337e13c630931fb2bc6b53b717e7558fc802eda
parente325390b91da7d3b43e78ad840a9fe5cd14a9ab7 (diff)
downloadpoky-45dace7e9f8fd3a7251f276092871ef443d9de7b.tar.gz
tar: filter CVEs using vendor name
Recently a number of CVEs have been logged against a nodejs project called "node-tar". These appear as false positives against the GNU tar being built by Yocto. Some of these have been manually excluded using CVE_CHECK_WHITELIST. To avoid this problem, use the vendor name (in addition to package name) for filtering CVEs. The syntax for this is: CVE_PRODUCT = "vendor:package" When not specified, the vendor defaults to "%" which matches anything. (From OE-Core rev: 45d1a0bea0c628f84a00d641a4d323491988106f) Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/tar/tar_1.34.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/tar/tar_1.34.bb b/meta/recipes-extended/tar/tar_1.34.bb
index 3488a6c955..5a415c775a 100644
--- a/meta/recipes-extended/tar/tar_1.34.bb
+++ b/meta/recipes-extended/tar/tar_1.34.bb
@@ -63,6 +63,6 @@ NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"
63 63
64BBCLASSEXTEND = "native nativesdk" 64BBCLASSEXTEND = "native nativesdk"
65 65
66# These are both specific to the NPM package node-tar 66# Avoid false positives from CVEs in node-tar package
67CVE_CHECK_WHITELIST += "CVE-2021-32803 CVE-2021-32804" 67# For example CVE-2021-{32803,32804,37701,37712,37713}
68CVE_CHECK_WHITELIST += "CVE-2021-37701 CVE-2021-37712 CVE-2021-37713" 68CVE_PRODUCT = "gnu:tar"