[meta-oe] nlohmann-json: Set CVE_PRODUCT according to NVD

Message ID 20220311151216.794065-1-jhaller@bbl.ms.philips.com
State Under Review
Headers show
Series [meta-oe] nlohmann-json: Set CVE_PRODUCT according to NVD | expand

Commit Message

jhaller@bbl.ms.philips.com March 11, 2022, 3:12 p.m. UTC
From: Julian Haller <julian.haller@philips.com>

NVD uses 'json-for-modern-cpp' as product name for nlohmann-json. See
https://nvd.nist.gov/products/cpe/detail/394565?namingFormat=2.3&orderBy=CPEURI&keyword=json-for-modern-cpp&status=FINAL

Signed-off-by: Julian Haller <julian.haller@philips.com>
---
 meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.10.5.bb | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.10.5.bb b/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.10.5.bb
index a69c5c7e58..0cf6fd36bc 100644
--- a/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.10.5.bb
+++ b/meta-oe/recipes-devtools/nlohmann-json/nlohmann-json_3.10.5.bb
@@ -4,6 +4,8 @@  SECTION = "libs"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=f969127d7b7ed0a8a63c2bbeae002588"
 
+CVE_PRODUCT = "json-for-modern-cpp"
+
 SRC_URI = "git://github.com/nlohmann/json.git;nobranch=1;protocol=https \
            "