python3-tornado: set CVE_PRODUCT
PATCH 1/10 python3-tornado: set CVE_PRODUCT
The default "python:tornado" CVE_PRODUCT doesn't match relevant CVEs, because the project's CPE is "tornadoweb:tornado".
See cve db query (docmosis is an irrelevant vendor):
sqlite> select * from products where PRODUCT = 'tornado';
CVE-2012-2374|tornadoweb|tornado|||2.2|<= CVE-2012-2374|tornadoweb|tornado|1.0|=|| CVE-2012-2374|tornadoweb|tornado|1.0.1|=|| CVE-2012-2374|tornadoweb|tornado|1.1|=|| CVE-2012-2374|tornadoweb|tornado|1.1.1|=|| CVE-2012-2374|tornadoweb|tornado|1.2|=|| CVE-2012-2374|tornadoweb|tornado|1.2.1|=|| CVE-2012-2374|tornadoweb|tornado|2.0|=|| CVE-2012-2374|tornadoweb|tornado|2.1|=|| CVE-2012-2374|tornadoweb|tornado|2.1.1|=|| CVE-2014-9720|tornadoweb|tornado|||3.2.2|< CVE-2023-25264|docmosis|tornado|||2.9.5|< CVE-2023-25265|docmosis|tornado|||2.9.5|< CVE-2023-25266|docmosis|tornado|||2.9.5|< CVE-2023-28370|tornadoweb|tornado|||6.3.2|< CVE-2024-42733|docmosis|tornado|||2.9.7|<= CVE-2024-52804|tornadoweb|tornado|||6.4.2|< CVE-2025-47287|tornadoweb|tornado|||6.5.0|< CVE-2025-67724|tornadoweb|tornado|||6.5.3|< CVE-2025-67725|tornadoweb|tornado|||6.5.3|< CVE-2025-67726|tornadoweb|tornado|||6.5.3|<
Set the CVE_PRODUCT accordingly.
--- meta-python/recipes-devtools/python/python3-tornado_6.5.4.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-tornado_6.5.4.bb +2 -0
@@ -38,4 +38,6 @@ FILES:${PN}-test = " \ ${PYTHON_SITEPACKAGES_DIR}/*/test \ " +CVE_PRODUCT = "tornadoweb:tornado" + BBCLASSEXTEND += "native nativesdk"
PATCH 2/10 python3-paramiko: set CVE_PRODUCT
Set correct CVE_PRODUCT for paramiko. The default python:paramiko value doesn't match CVEs, because the product has its own set of CPEs associated with CVEs.
See CVE db query:
sqlite> select * from products where PRODUCT = 'paramiko'; CVE-2008-0299|python_software_foundation|paramiko|1.7.1|=||
CVE-2018-1000805|paramiko|paramiko|1.17.6|=|| CVE-2018-1000805|paramiko|paramiko|1.18.5|=|| CVE-2018-1000805|paramiko|paramiko|2.0.8|=|| CVE-2018-1000805|paramiko|paramiko|2.1.5|=|| CVE-2018-1000805|paramiko|paramiko|2.2.3|=|| CVE-2018-1000805|paramiko|paramiko|2.3.2|=|| CVE-2018-1000805|paramiko|paramiko|2.4.1|=|| CVE-2018-7750|paramiko|paramiko|||1.17.6|< CVE-2018-7750|paramiko|paramiko|1.18.0|>=|1.18.5|< CVE-2018-7750|paramiko|paramiko|2.0.0|>=|2.0.8|< CVE-2018-7750|paramiko|paramiko|2.1.0|>=|2.1.5|< CVE-2018-7750|paramiko|paramiko|2.2.0|>=|2.2.3|< CVE-2018-7750|paramiko|paramiko|2.3.0|>=|2.3.2|< CVE-2018-7750|paramiko|paramiko|2.4.0|=|| CVE-2022-24302|paramiko|paramiko|||2.10.1|< CVE-2023-48795|paramiko|paramiko|||3.4.0|<
--- meta-python/recipes-devtools/python/python3-paramiko_3.5.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-paramiko_3.5.1.bb +2 -0
@@ -18,3 +18,5 @@ RDEPENDS:${PN} += " \ python3-pynacl \ python3-unixadmin \ " + +CVE_PRODUCT = "paramiko:paramiko python_software_foundation:paramiko"
PATCH 3/10 python3-sqlalchemy: set CVE_PRODUCT
In reply to Gyorgy SarvariThe default python:sqlalchemy CPE fails to match CVEs, because the CVEs are associated with sqlalchemy:sqlalchemy CPE.
See CVE db query:
sqlite> select * from products where PRODUCT = 'sqlalchemy';
CVE-2012-0805|sqlalchemy|sqlalchemy|||0.7.0|<= CVE-2012-0805|sqlalchemy|sqlalchemy|0.6.0|=|| CVE-2012-0805|sqlalchemy|sqlalchemy|0.6.0_beta1|=|| CVE-2012-0805|sqlalchemy|sqlalchemy|0.6.0_beta2|=|| CVE-2012-0805|sqlalchemy|sqlalchemy|0.6.0_beta3|=|| CVE-2012-0805|sqlalchemy|sqlalchemy|0.6.1|=|| CVE-2012-0805|sqlalchemy|sqlalchemy|0.6.2|=|| CVE-2012-0805|sqlalchemy|sqlalchemy|0.6.3|=|| CVE-2012-0805|sqlalchemy|sqlalchemy|0.6.4|=|| CVE-2012-0805|sqlalchemy|sqlalchemy|0.6.5|=|| CVE-2012-0805|sqlalchemy|sqlalchemy|0.6.6|=|| CVE-2012-0805|sqlalchemy|sqlalchemy|0.6.7|=|| CVE-2012-0805|sqlalchemy|sqlalchemy|0.7.0_b1|=|| CVE-2012-0805|sqlalchemy|sqlalchemy|0.7.0_b2|=|| CVE-2019-7164|sqlalchemy|sqlalchemy|||1.2.17|<= CVE-2019-7164|sqlalchemy|sqlalchemy|1.3.0_beta1|=|| CVE-2019-7164|sqlalchemy|sqlalchemy|1.3.0_beta2|=|| CVE-2019-7548|sqlalchemy|sqlalchemy|1.2.17|=||
Set the CVE_PRODUCT accordingly.
--- .../recipes-devtools/python/python3-sqlalchemy_2.0.45.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.45.bb +2 -0
@@ -21,4 +21,6 @@ RDEPENDS:${PN} += " \ python3-typing-extensions \ " +CVE_PRODUCT = "sqlalchemy" + BBCLASSEXTEND = "native nativesdk"
PATCH 4/10 python3-twitter: set CVE_PRODUCT
In reply to Gyorgy SarvariThe product's CPE doesn't use "python" as the vendor, set the CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where PRODUCT = 'tweepy'; CVE-2012-5825|tweepy|tweepy|-|||
--- meta-python/recipes-devtools/python/python3-twitter_4.16.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-twitter_4.16.0.bb +2 -0
@@ -17,3 +17,5 @@ RDEPENDS:${PN} += "\ python3-requests-oauthlib \ python3-six \ " + +CVE_PRODUCT = "tweepy"
PATCH 5/10 python3-redis: set CVE_PRODUCT
In reply to Gyorgy SarvariSet the correct CVE_PRODUCT for the recipe.
--- meta-python/recipes-devtools/python/python3-redis_5.2.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-redis_5.2.1.bb +2 -0
@@ -19,3 +19,5 @@ RDEPENDS:${PN} += " \ python3-json \ python3-packaging \ " + +CVE_PRODUCT = "redis-py"
PATCH 6/10 python3-pyrad: set CVE_PRODUCT
In reply to Gyorgy SarvariNIST tracks related CVEs with pyrad_project CPE vendor instead of "python". Set the CVE_PRODUCT to pyrad, so both can be matched.
See CVE db query:
sqlite> select * from products where PRODUCT = 'pyrad';
CVE-2013-0294|pyrad_project|pyrad|||2.1|< CVE-2013-0342|pyrad_project|pyrad|||2.1|<
--- meta-python/recipes-devtools/python/python3-pyrad_2.4.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pyrad_2.4.bb +2 -0
@@ -19,3 +19,5 @@ RDEPENDS:${PN} += " \ python3-netaddr \ python3-six \ " + +CVE_PRODUCT = "pyrad"
PATCH 7/10 python3-matplotlib: set CVE_PRODUCT
In reply to Gyorgy SarvariAt least one CVE is tracked by debian:matplotlib CPE (and no CVEs are tracked by the defaul python:matplotlib CPE).
See CVE db query:
sqlite> select * from products where PRODUCT = 'matplotlib'; CVE-2013-1424|debian|matplotlib|0.99.3-1|>=|1.4.2-3.1|<
Set the CVE_PRODUCT accordingly.
--- .../recipes-devtools/python/python3-matplotlib_3.10.8.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-matplotlib_3.10.8.bb +2 -0
@@ -47,4 +47,6 @@ RDEPENDS:${PN} = "\ python3-packaging \ " +CVE_PRODUCT = "matplotlib" + BBCLASSEXTEND = "native"
PATCH 8/10 python3-httplib2: set CVE_PRODUCT
In reply to Gyorgy SarvariThere are no CVEs tracked with python:httplib2 CPE, but there are multiple ones tracked under httplib2_project:hgttplib2 CPE (and they are related to this recipe).
See CVE db query:
sqlite> select * from products where PRODUCT = 'httplib2';
CVE-2013-2037|httplib2_project|httplib2|||0.7.2|<= CVE-2013-2037|httplib2_project|httplib2|0.8|=|| CVE-2020-11078|httplib2_project|httplib2|||0.18.0|< CVE-2021-21240|httplib2_project|httplib2|||0.19.0|<
Set the CVE_PRODUCT accordingly.
--- meta-python/recipes-devtools/python/python3-httplib2_0.31.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-httplib2_0.31.0.bb +2 -0
@@ -13,3 +13,5 @@ RDEPENDS:${PN} += "\ python3-netclient \ python3-pyparsing \ " + +CVE_PRODUCT = "httplib2"
PATCH 9/10 python3-virtualenv: set CVE_PRODUCT
In reply to Gyorgy SarvariThere are relevant CVEs tracked under two different CPEs:
python:virtualenv (the default in OE), and virtualenv:virtualenv (these were missed).
See CVE db query:
sqlite> select * from products where PRODUCT = 'virtualenv';
CVE-2011-4617|python|virtualenv|||1.4.9|<= CVE-2011-4617|python|virtualenv|0.8|=|| CVE-2011-4617|python|virtualenv|0.8.1|=|| CVE-2011-4617|python|virtualenv|0.8.2|=|| CVE-2011-4617|python|virtualenv|0.8.3|=|| CVE-2011-4617|python|virtualenv|0.8.4|=|| CVE-2011-4617|python|virtualenv|0.9|=|| CVE-2011-4617|python|virtualenv|0.9.1|=|| CVE-2011-4617|python|virtualenv|0.9.2|=|| CVE-2011-4617|python|virtualenv|1.0|=|| CVE-2011-4617|python|virtualenv|1.1|=|| CVE-2011-4617|python|virtualenv|1.1.1|=|| CVE-2011-4617|python|virtualenv|1.2|=|| CVE-2011-4617|python|virtualenv|1.3|=|| CVE-2011-4617|python|virtualenv|1.3.1|=|| CVE-2011-4617|python|virtualenv|1.3.2|=|| CVE-2011-4617|python|virtualenv|1.3.3|=|| CVE-2011-4617|python|virtualenv|1.3.4|=|| CVE-2011-4617|python|virtualenv|1.4|=|| CVE-2011-4617|python|virtualenv|1.4.1|=|| CVE-2011-4617|python|virtualenv|1.4.2|=|| CVE-2011-4617|python|virtualenv|1.4.3|=|| CVE-2011-4617|python|virtualenv|1.4.4|=|| CVE-2011-4617|python|virtualenv|1.4.5|=|| CVE-2011-4617|python|virtualenv|1.4.6|=|| CVE-2011-4617|python|virtualenv|1.4.7|=|| CVE-2011-4617|python|virtualenv|1.4.8|=|| CVE-2013-5123|virtualenv|virtualenv|12.0.7|=||
CVE-2024-53899|virtualenv|virtualenv|||20.26.6|<
Set the CVE_PRODUCT so both are matched.
--- .../recipes-devtools/python/python3-virtualenv_20.35.4.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-virtualenv_20.35.4.bb +2 -0
@@ -24,3 +24,5 @@ RDEPENDS:${PN} += " \ python3-modules \ python3-platformdirs \ " + +CVE_PRODUCT = "virtualenv"
PATCH 10/10 python3-pywbem: set CVE_PRODUCT
In reply to Gyorgy SarvariRelevant CVEs are tracked with pywbem_project:pywbem CPE instead of the (previously) expected python:pywbem.
See CVE db query:
sqlite> select * from products where PRODUCT = 'pywbem';
CVE-2013-6418|pywbem_project|pywbem|||0.7|<= CVE-2013-6444|pywbem_project|pywbem|||0.7|<=
Set the CVE_PRODUCT accordingly.
--- meta-python/recipes-extended/pywbem/python3-pywbem_1.7.3.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-extended/pywbem/python3-pywbem_1.7.3.bb +2 -0
@@ -49,3 +49,5 @@ ALTERNATIVE:${PN} = "mof_compiler" ALTERNATIVE_TARGET[mof_compiler] = "${bindir}/mof_compiler" ALTERNATIVE_PRIORITY = "60" + +CVE_PRODUCT = "pywbem"