Skip to contentSkip to conversation

nodejs: add CVE_PRODUCT

PATCH In review Chen Qi 2 participants 2 messages Feb 8, 2023

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH 1/1 nodejs: add CVE_PRODUCT

Some old nodejs CVEs use 'nodejs', and recent nodejs CVEs use 'node.js'. Add CVE_PRODUCT to include both.

---
 meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/nodejs/nodejs_18.12.1.bb +2 -0
index e96913e56..96e70991b 100644
@@ -3,6 +3,8 @@ HOMEPAGE = "http://nodejs.org"
 LICENSE = "MIT & ISC & BSD-2-Clause & BSD-3-Clause & Artistic-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=dfd7ae796baf5326016a3865ee1dc632"
 
+CVE_PRODUCT = "nodejs node.js"
+
 DEPENDS = "openssl"
 DEPENDS:append:class-target = " qemu-native"
 DEPENDS:append:class-native = " c-ares-native"
Signature · 1 line
2.37.1
#1 lore raw
Quoted 3 lines · Chen Qi via lists.openembedded.org

Some old nodejs CVEs use 'nodejs', and recent nodejs CVEs use 'node.js'. Add CVE_PRODUCT to include both.

You can also email NIST and they’ll correct the database to remove this confusion.

Ross