Skip to contentSkip to conversation

builder: set CVE_PRODUCT

PATCH In review Peter Marko 2 participants 4 messages Nov 24, 2024 – Nov 25, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 builder: set CVE_PRODUCT

From: Peter Marko <[email protected]>

Builder is a common word and there are many other builder components which makes us to ignore CVEs for all of them.
There is already 1 ignored and currently 3 new ones.

Instead, set product to yocto to filter them.

---
 meta/recipes-graphics/builder/builder_0.1.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta/recipes-graphics/builder/builder_0.1.bb +2 -1
index 7719b783c2..c0c271d564 100644
@@ -29,4 +29,5 @@ do_install () {
 	chown  builder.builder ${D}${sysconfdir}/mini_x/session.d/builder_session.sh
 }
 
-CVE_STATUS[CVE-2008-4178] = "cpe-incorrect: This CVE is for an unrelated builder"
+# do not report CVEs for other builder apps
+CVE_PRODUCT = "yocto:builder"
Signature · 1 line
2.30.2
#1 lore raw

meta/recipes-graphics/builder/builder_0.1.bb do_install () { · line 33

Quoted 3 lines · Peter Marko via lists.openembedded.org
meta/recipes-graphics/builder/builder_0.1.bb +2 -1
-CVE_STATUS[CVE-2008-4178] = "cpe-incorrect: This CVE is for an unrelated builder"
+# do not report CVEs for other builder apps
+CVE_PRODUCT = "yocto:builder"

Please don’t make up vendor names. There are already yocto_project and yoctoproject vendors so let's not add another variation. Personally, I lean towards yoctoproject.

Ross

#2 lore raw

Hi Ross,

I have realized this and sent v2 with yoctoproject only 10 minutes after sending this patch. I guess I have forgotten to chain it with --in-reply-to=, sorry for that.

Peter

Quoted 19 lines

-----Original Message-----
From: Ross Burton <[email protected]>
Sent: Monday, November 25, 2024 12:30
To: Marko, Peter (FT D EU SK BFS1) <[email protected]>
Cc: [email protected]
Subject: Re: [OE-core][PATCH] builder: set CVE_PRODUCT

Quoted 1 line · Peter Marko via lists.openembedded.org

-CVE_STATUS[CVE-2008-4178] = "cpe-incorrect: This CVE is for an unrelated

builder"

meta/recipes-graphics/builder/builder_0.1.bb do_install () { · line 33

Quoted 2 lines
meta/recipes-graphics/builder/builder_0.1.bb +2 -0
+# do not report CVEs for other builder apps
+CVE_PRODUCT = "yocto:builder"

Please don’t make up vendor names. There are already yocto_project and yoctoproject vendors so let's not add another variation. Personally, I lean towards yoctoproject.

Ross

#3 lore raw
Quoted 5 lines · Peter

Hi Ross,

I have realized this and sent v2 with yoctoproject only 10 minutes after sending this patch. I guess I have forgotten to chain it with --in-reply-to=, sorry for that.

So you did, sorry about that. Drive-by review over a coffee on a Monday might not be a good idea :)

Ross