diff options
author | Ralph Siemsen <ralph.siemsen@linaro.org> | 2021-09-14 15:15:47 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-23 23:14:16 +0100 |
commit | 8f637c5d4229c4a23196949d0a21b74e85de80a5 (patch) | |
tree | fe5f4c0e282f5cdd6b1f22e4dccb7e86a25b2276 /meta/recipes-extended/tar | |
parent | 1501d447cf96ded93f49c9a49cb1b608b9def315 (diff) | |
download | poky-8f637c5d4229c4a23196949d0a21b74e85de80a5.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: 4d0ad4962bd3c69800f70770dc9123a694e16c26)
Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 45d1a0bea0c628f84a00d641a4d323491988106f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/tar')
-rw-r--r-- | meta/recipes-extended/tar/tar_1.32.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-extended/tar/tar_1.32.bb b/meta/recipes-extended/tar/tar_1.32.bb index 87eb8b4188..db1540dbd6 100644 --- a/meta/recipes-extended/tar/tar_1.32.bb +++ b/meta/recipes-extended/tar/tar_1.32.bb | |||
@@ -66,6 +66,6 @@ NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}" | |||
66 | 66 | ||
67 | BBCLASSEXTEND = "native nativesdk" | 67 | BBCLASSEXTEND = "native nativesdk" |
68 | 68 | ||
69 | # These are both specific to the NPM package node-tar | 69 | # Avoid false positives from CVEs in node-tar package |
70 | CVE_CHECK_WHITELIST += "CVE-2021-32803 CVE-2021-32804" | 70 | # For example CVE-2021-{32803,32804,37701,37712,37713} |
71 | CVE_CHECK_WHITELIST += "CVE-2021-37701 CVE-2021-37712 CVE-2021-37713" | 71 | CVE_PRODUCT = "gnu:tar" |