add missing CVE_PRODUCT
cover add missing CVE_PRODUCT
Some recipes does not have 'CVE_PRODUCT' set, and will thus pass a check against the NIST database with 0 CVEs, even though there could be several.
Emil Kronborg Andersen (3):
libopus: add CVE_PRODUCT
lcms: add CVE_PRODUCT
snappy: add CVE_PRODUCT
meta-oe/recipes-extended/snappy/snappy_1.1.9.bb | 2 ++ meta-oe/recipes-multimedia/libopus/libopus_1.4.bb | 2 ++ meta-oe/recipes-support/lcms/lcms_2.15.bb | 2 ++ 3 files changed, 6 insertions(+)
Signature · 1 line
2.41.0
PATCH 1/3 libopus: add CVE_PRODUCT
--- meta-oe/recipes-multimedia/libopus/libopus_1.4.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-multimedia/libopus/libopus_1.4.bb +2 -0
@@ -52,3 +52,5 @@ python () { ARM_INSTRUCTION_SET:armv5 = "arm" BBCLASSEXTEND = "native nativesdk" + +CVE_PRODUCT += "opus-codec:opus"
Signature · 1 line
2.41.0
PATCH 2/3 lcms: add CVE_PRODUCT
In reply to Emil Kronborg Andersen--- meta-oe/recipes-support/lcms/lcms_2.15.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-support/lcms/lcms_2.15.bb +2 -0
@@ -13,3 +13,5 @@ BBCLASSEXTEND = "native" S = "${WORKDIR}/lcms2-${PV}" inherit autotools + +CVE_PRODUCT += "littlecms:little_cms_color_engine"
Signature · 1 line
2.41.0
PATCH 3/3 snappy: add CVE_PRODUCT
In reply to Emil Kronborg AndersenIf CVE_PRODUCT is not explicitly set to google:snappy, CVEs are found for https://github.com/KnpLabs/snappy instead.
--- meta-oe/recipes-extended/snappy/snappy_1.1.9.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-extended/snappy/snappy_1.1.9.bb +2 -0
@@ -24,3 +24,5 @@ PACKAGECONFIG[lzo] = "-DHAVE_LIBLZO2=1,-DHAVE_LIBLZO2=0,lzo," TARGET_CFLAGS += "-fPIC" EXTRA_OECMAKE += '-DBUILD_SHARED_LIBS="ON" -DSNAPPY_BUILD_TESTS="OFF" -DSNAPPY_BUILD_BENCHMARKS="OFF"' + +CVE_PRODUCT = "google:snappy"
Signature · 1 line
2.41.0
Hello Emil,
Quoted 4 lines · On Thu, 24 Aug 2023 16:07:44 +0200 "Emil Kronborg Andersen via…
Some recipes does not have '
CVE_PRODUCT' set, and will thus pass a check against the NIST database with 0 CVEs, even though there could be several.
Quoted 8 lines
Emil Kronborg Andersen (3):
libopus: addCVE_PRODUCT
lcms: addCVE_PRODUCT
snappy: addCVE_PRODUCTmeta-oe/recipes-extended/snappy/snappy_1.1.9.bb | 2 ++ meta-oe/recipes-multimedia/libopus/libopus_1.4.bb | 2 ++ meta-oe/recipes-support/lcms/lcms_2.15.bb | 2 ++
These patches should be sent to the meta-oe mailing list.
Best regards,
Luca
Signature · 3 lines
Luca Ceresoli, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Hi Luca,
Sorry about that. I sent them to the meta-oe mailing list now.
Best regards,
Emil
________________________________
From: Luca Ceresoli <[email protected]>
Sent: Friday, August 25, 2023 10:24
To: Emil Kronborg Andersen via lists.openembedded.org <[email protected]>
Cc: Emil Kronborg Andersen <[email protected]>; [email protected] <[email protected]>
Subject: Re: [OE-core] [meta-oe][PATCH 0/3] add missing CVE_PRODUCT
Hello Emil,
Quoted 4 lines · On Thu, 24 Aug 2023 16:07:44 +0200 "Emil Kronborg Andersen via…
Some recipes does not have '
CVE_PRODUCT' set, and will thus pass a check against the NIST database with 0 CVEs, even though there could be several.
Quoted 8 lines
Emil Kronborg Andersen (3):
libopus: addCVE_PRODUCT
lcms: addCVE_PRODUCT
snappy: addCVE_PRODUCTmeta-oe/recipes-extended/snappy/snappy_1.1.9.bb | 2 ++ meta-oe/recipes-multimedia/libopus/libopus_1.4.bb | 2 ++ meta-oe/recipes-support/lcms/lcms_2.15.bb | 2 ++
These patches should be sent to the meta-oe mailing list.
Best regards,
Luca
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com