Skip to contentSkip to conversation

python3-numpy: fix CVE_PRODUCT

PATCH New [email protected] 1 participant 1 message Aug 16

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-numpy: fix CVE_PRODUCT

From: Tim Orling <[email protected]>

Without this change, 0 CVEs are reported.

With this change, 8 Patched CVEs are reported:
* CVE-2014-1858
* CVE-2014-1859
* CVE-2017-12852
* CVE-2019-6446
* CVE-2021-33430
* CVE-2021-34141
* CVE-2021-41495
* CVE-2021-41496

This can be verified with a query like:

$ cat .../core-image-ptest-python3-numpy-*.rootfs.sbom-cve-check.yocto.json \
  | jq '.package[] | select(.name == "python3-numpy") \
  | .issue[] | {id: .id, status: .status}'
---
 meta/recipes-devtools/python/python3-numpy_2.5.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-numpy_2.5.2.bb +2 -0
index 528f037701..4406204681 100644
@@ -15,6 +15,8 @@ SRC_URI[sha256sum] = "d482d171c406ae88c5b19cad3b6a1c4c5209f886ab74bc44c2c865c23f
 GITHUB_BASE_URI = "https://github.com/numpy/numpy/releases"
 UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P<pver>\d+(\.\d+)+)$"
 
+CVE_PRODUCT = "numpy:numpy"
+
 inherit pkgconfig ptest python_mesonpy github-releases cython
 
 S = "${UNPACKDIR}/numpy-${PV}"
Signature · 1 line
2.47.3