From 30b0c458bb460d32c2a7daddb84651b26832ec78 Mon Sep 17 00:00:00 2001 From: Gyorgy Sarvari Date: Wed, 31 Dec 2025 08:54:15 +0100 Subject: [PATCH] python3-lief: set CVE_PRODUCT The correct CVE_PRODUCT is "lief" for this recipe instead of the default ${PN}, that doesn't match relevant CVEs. See CVE db query: sqlite> select * from products where product like 'lief'; CVE-2021-32297|lief-project|lief|||0.11.4|<= CVE-2022-38306|lief-project|lief|||0.12.1|< CVE-2022-38307|lief-project|lief|||0.12.1|< CVE-2022-38495|lief-project|lief|||0.12.1|<= CVE-2022-38496|lief-project|lief|||0.12.1|<= CVE-2022-38497|lief-project|lief|||0.12.1|<= CVE-2022-40922|lief-project|lief|0.12.1|=|| CVE-2022-40923|lief-project|lief|0.12.1|=|| CVE-2022-43171|lief-project|lief|0.12.1|=|| CVE-2024-31636|lief-project|lief|0.14.1|=|| Signed-off-by: Gyorgy Sarvari Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-lief_0.17.1.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-python/recipes-devtools/python/python3-lief_0.17.1.bb b/meta-python/recipes-devtools/python/python3-lief_0.17.1.bb index de54d45ef2..de6390d210 100644 --- a/meta-python/recipes-devtools/python/python3-lief_0.17.1.bb +++ b/meta-python/recipes-devtools/python/python3-lief_0.17.1.bb @@ -12,6 +12,8 @@ SRC_URI = " \ file://0002-api-python-config-default.toml-Debug.patch \ " +CVE_PRODUCT = "lief" + PEP517_SOURCE_PATH = "${S}/api/python" export LIEF_BUILD_DIR = "${B}"