python3-pymongo: correct CVE_PRODUCT mapping
PATCH 1/1 python3-pymongo: correct CVE_PRODUCT mapping
From: Devansh Patel <[email protected]>
The product-only "pymongo" value emits a wildcard-vendor identity and omits the second authoritative name for the packaged MongoDB Python driver.
Use "mongodb:python_driver" for its NVD dictionary CPE family and "mongodb:pymongo" for its NVD dictionary CPE and configuration identity. With sbom-cve-check 1.3.3 and the pinned database snapshots, the generated product identity changes; the current CVE report is unchanged.
Signed-off-by Devansh Patel <[email protected]>
--- meta-python/recipes-devtools/python/python3-pymongo_4.17.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-pymongo_4.17.0.bb +1 -1
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" SRC_URI[sha256sum] = "70ffa08ba641468cc068cf46c06b34f01a8ce3489f6411309fcb5ceabe6b2fc0" -CVE_PRODUCT = "pymongo" +CVE_PRODUCT = "mongodb:python_driver mongodb:pymongo" inherit pypi python_hatchling
Signature · 1 line
2.35.6