There is also gnu:zlib in CVE reports for zlib...

sqlite3 nvdcve_2-1.db
sqlite> select vendor, count(*) from products where product='zlib' group by 
vendor;
cloudflare|1
gnu|1
zlib|13
sqlite> select * from products where product='zlib' and vendor = 'gnu';
CVE-2016-9842|gnu|zlib|1.2.3.4|>=|1.2.9|<

Peter

> -----Original Message-----
> From: [email protected] <openembedded-
> [email protected]> On Behalf Of Het Patel via
> lists.openembedded.org
> Sent: Thursday, August 8, 2024 8:24
> To: [email protected]
> Cc: Het Patel <[email protected]>
> Subject: [OE-core] [PATCH] zlib: add vendor to CVE_PRODUCT to exclude false
> positives
> 
> To avoid false positives (such as CVE-2023-6992, cloudflare:zlib), add a
> CVE_PRODUCT to identify the vendor that has been used.
> 
> Signed-off-by: Het Patel <[email protected]>
> ---
>  meta/recipes-core/zlib/zlib_1.2.13.bb | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/meta/recipes-core/zlib/zlib_1.2.13.bb b/meta/recipes-
> core/zlib/zlib_1.2.13.bb
> index ec977a3035..8f3814068a 100644
> --- a/meta/recipes-core/zlib/zlib_1.2.13.bb
> +++ b/meta/recipes-core/zlib/zlib_1.2.13.bb
> @@ -45,3 +45,6 @@ do_install_ptest() {
>  }
> 
>  BBCLASSEXTEND = "native nativesdk"
> +
> +# adding 'CVE_PRODUCT' to avoid false detection of CVEs
> +CVE_PRODUCT = "zlib:zlib"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#203118): 
https://lists.openembedded.org/g/openembedded-core/message/203118
Mute This Topic: https://lists.openembedded.org/mt/107783415/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to