From: Gyorgy Sarvari <[email protected]>

The default ${PN} (python3-scapy) CVE fails to match relevant CVEs,
because they are tracked under the scapy:scapy CPE.

Set CVE_PRODUCT to the correct value.

See CVE db query:
sqlite> select * from products where product like '%scapy%';
CVE-2019-1010142|scapy|scapy|2.4.0|=||

Signed-off-by: Gyorgy Sarvari <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
(cherry picked from commit 6f68f5fce766096b9d086093ca0435bc5904b8e7)
Signed-off-by: Ankur Tyagi <[email protected]>
---
 meta-networking/recipes-devtools/python/python3-scapy_2.6.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-devtools/python/python3-scapy_2.6.1.bb 
b/meta-networking/recipes-devtools/python/python3-scapy_2.6.1.bb
index faafeecfaf..678aec0135 100644
--- a/meta-networking/recipes-devtools/python/python3-scapy_2.6.1.bb
+++ b/meta-networking/recipes-devtools/python/python3-scapy_2.6.1.bb
@@ -23,6 +23,8 @@ SRC_URI = 
"git://github.com/secdev/scapy.git;branch=master;protocol=https;tag=v$
 
 UPSTREAM_CHECK_COMMITS = "1"
 
+CVE_PRODUCT = "scapy"
+
 inherit python_setuptools_build_meta ptest
 
 do_install:append() {
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#123629): 
https://lists.openembedded.org/g/openembedded-devel/message/123629
Mute This Topic: https://lists.openembedded.org/mt/117342397/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to