Skip to contentSkip to conversation

python3-werkzeug: correct CVE_PRODUCT mapping

PATCH New Devansh Patel -X (devanshp - E INFOCHIPS PRIVATE LIMITED at Cisco) 1 participant 1 message Aug 24

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-werkzeug: correct CVE_PRODUCT mapping

From: Devansh Patel <[email protected]>

The current product-only "werkzeug" mapping emits a wildcard-vendor identity instead of the exact identities assigned to the packaged Pallets source.

Use "pallets:werkzeug" for the CNA affected-data identity and "palletsprojects:werkzeug" for the NVD dictionary CPE and configuration identity. This changes the generated product identity, but sbom-cve-check 1.3.3 with the pinned databases leaves the current CVE report unchanged.

---
 meta-python/recipes-devtools/python/python3-werkzeug_3.1.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-werkzeug_3.1.8.bb +1 -1
index 4e1be5cb2f..fae4de2a3f 100644
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dc88300786f1c214c1e9827a5229462"
 
 SRC_URI[sha256sum] = "9bad61a4268dac112f1c5cd4630a56ede601b6ed420300677a869083d70a4c44"
 
-CVE_PRODUCT = "werkzeug"
+CVE_PRODUCT = "pallets:werkzeug palletsprojects:werkzeug"
 
 inherit pypi python_flit_core
 
Signature · 1 line
2.35.6