Skip to contentSkip to conversation

go-logrus: correct CVE_PRODUCT mapping

PATCH In review Devansh Patel -X (devanshp - E INFOCHIPS PRIVATE LIMITED at Cisco) 2 participants 2 messages Aug 21 – Sep 1

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 go-logrus: correct CVE_PRODUCT mapping

From: Devansh Patel <[email protected]>

The default "go-logrus" product does not match the packaged Logrus identity in NVD, so its CVE records are not associated with the recipe.

Use "turbopuffer:logrus", the exact NVD identity for the github.com/sirupsen/logrus source.

---
 recipes-devtools/go/go-logrus_git.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-devtools/go/go-logrus_git.bb +2 -0
index 7b9e31a5..4f8a255e 100644
@@ -12,6 +12,8 @@ SRC_URI = "git://${PKG_NAME};branch=master;protocol=https"
 SRCREV = "a29884b9be3dc22c18338c0fe5a51d23e69731e4"
 PV = "1.9.4+git"
 
+CVE_PRODUCT = "turbopuffer:logrus"
+
 inherit meta-virt-depreciated-warning
 
 do_install() {
Signature · 1 line
2.35.6