python3-pandas: set CVE_PRODUCT
PATCH 1/34 python3-pandas: set CVE_PRODUCT
Currently there is only one CVE associated with pandas, and it is tracked using numfocus:pandas CPE by NIST instead of the default python:pandas from pypi.bbclass.
See CVE db query:
sqlite> select * from products where product like 'pandas'; CVE-2020-13091|numfocus|pandas|||1.0.3|<=
Set the CVE_PRODUCT accodingly.
--- meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pandas_2.2.3.bb +2 -0
@@ -15,6 +15,8 @@ SRC_URI:append:class-target = " file://0001-BLD-add-option-to-specify-numpy-head SRC_URI[sha256sum] = "4f18ba62b61d7e192368b84517265a99b4d7ee8912f8708660fb4a366cc82667" +CVE_PRODUCT = "pandas" + inherit pkgconfig pypi python_mesonpy cython DEPENDS += " \
PATCH 2/34 python3-flask-cors: set CVE_PRODUCT
The related CVEs are tracked under multiple vendor IDs (but none of them are associated with the default "python" vendor).
Query from CVE db:
sqlite> select * from products where product like 'flask-cors';
CVE-2020-25032|flask-cors_project|flask-cors|||3.0.9|< CVE-2024-1681|corydolphin|flask-cors|4.0.0|=|| CVE-2024-6221|corydolphin|flask-cors|4.0.1|=|| CVE-2024-6839|flask-cors_project|flask-cors|4.0.1|=|| CVE-2024-6844|flask-cors_project|flask-cors|4.0.1|=|| CVE-2024-6866|flask-cors_project|flask-cors|4.0.1|=||
Set the CVE_PRODUCT so it matches the relevant entries.
--- meta-python/recipes-devtools/python/python3-flask-cors_4.0.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-flask-cors_4.0.0.bb +2 -0
@@ -16,6 +16,8 @@ SRC_URI += " \ SRC_URI[sha256sum] = "f268522fcb2f73e2ecdde1ef45e2fd5c71cc48fe03cffb4b441c6d1b40684eb0" +CVE_PRODUCT = "flask-cors" + inherit pypi setuptools3 RDEPENDS:${PN} += "python3-flask"
PATCH 3/34 python3-py: set CVE_PRODUCT
In reply to Gyorgy SarvariThe related CVEs are tracked using pytest:py CPE, so set the CVE_PRODUCT accordingly instead of the default python:py.
See CVE db query:
sqlite> select * from products where product like 'py';
CVE-2020-29651|pytest|py|||1.9.0|<= CVE-2022-42969|pytest|py|||1.11.0|<=
--- meta-python/recipes-devtools/python/python3-py_1.11.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-py_1.11.0.bb +2 -0
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a6bb0320b04a0a503f12f69fea479de9" SRC_URI[sha256sum] = "51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719" +CVE_PRODUCT = "py" + DEPENDS += "python3-setuptools-scm-native" inherit pypi python_setuptools_build_meta
PATCH 4/34 python3-autobahn: set CVE_PRODUCT
In reply to Gyorgy SarvariThe only CVE stored in the CVE db is tracked with "crossbar" vendor, which makes the default python:autobahn CPE to not match.
Set the CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like 'autobahn'; CVE-2020-35678|crossbar|autobahn|||20.12.3|<
--- meta-python/recipes-devtools/python/python3-autobahn_25.11.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-autobahn_25.11.1.bb +2 -0
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=588502cb4ffc65da2b26780d6baa5a40" SRC_URI[sha256sum] = "52e62b9cc80c3e989b182952a60fd25c9a69afb00854a925a2b185f7b1f73cf1" +CVE_PRODUCT = "autobahn" + inherit pypi python_setuptools_build_meta DEPENDS += " \
PATCH 5/34 python3-uvicorn: set CVE_PRODUCT
In reply to Gyorgy SarvariThe default python:uvicorn CPE is not correct, the CVEs are tracked under encode:uvicorn.
See CVE db query (n8n vendor is not relevant):
sqlite> select * from products where product like 'uvicorn';
CVE-2020-7694|encode|uvicorn|-||| CVE-2020-7695|encode|uvicorn|||0.11.7|<
CVE-2025-55526|n8n|uvicorn|0.35.0|=||
--- meta-python/recipes-devtools/python/python3-uvicorn_0.40.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-uvicorn_0.40.0.bb +1 -0
@@ -11,6 +11,7 @@ SRC_URI += "file://0001-ptest-disable-failing-tests.patch" inherit pypi python_hatchling ptest-python-pytest PYPI_PACKAGE = "uvicorn" +CVE_PRODUCT = "encode:uvicorn" RDEPENDS:${PN} = "\ python3-click \
PATCH 6/34 python3-brotli: set CVE_PRODUCT
In reply to Gyorgy SarvariThere is one brotli repository for all language bindings, and the same CPE is used for all: google:brotli (instead of the expected default of python:brotli, in case of the Python package).
Set the CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like 'brotli'; CVE-2020-8927|google|brotli|||1.0.8|<
--- meta-python/recipes-devtools/python/python3-brotli_1.1.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-brotli_1.1.0.bb +2 -0
@@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=941ee9cd1609382f946352712a319b4b" PYPI_PACKAGE = "Brotli" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" +CVE_PRODUCT = "brotli" + SRC_URI[sha256sum] = "81de08ac11bcb85841e440c13611c00b67d3bf82698314928d0b676362546724" inherit pypi python_setuptools_build_meta
PATCH 7/34 python3-aiohttp: set CVE_PRODUCT
In reply to Gyorgy SarvariThe related CVEs are tracked using aiohttp:aiohttp CPE, so the default python:aiohttp CPE doesn't match relevant CVEs.
Set the CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like 'aiohttp';
CVE-2021-21330|aiohttp|aiohttp|||3.7.4|< CVE-2022-33124|aiohttp|aiohttp|3.8.1|=|| CVE-2023-37276|aiohttp|aiohttp|||3.8.4|<= CVE-2023-47627|aiohttp|aiohttp|||3.8.6|< CVE-2023-47641|aiohttp|aiohttp|||3.8.0|< CVE-2023-49081|aiohttp|aiohttp|||3.9.0|< CVE-2023-49082|aiohttp|aiohttp|||3.9.0|< CVE-2024-23334|aiohttp|aiohttp|1.0.5|>=|3.9.2|< CVE-2024-23829|aiohttp|aiohttp|||3.9.2|< CVE-2024-27306|aiohttp|aiohttp|||3.9.4|< CVE-2024-30251|aiohttp|aiohttp|||3.9.4|< CVE-2024-42367|aiohttp|aiohttp|3.10.0|>=|3.10.2|< CVE-2024-52303|aiohttp|aiohttp|3.10.6|>=|3.10.11|< CVE-2024-52304|aiohttp|aiohttp|||3.10.11|< CVE-2025-53643|aiohttp|aiohttp|||3.12.14|<
--- meta-python/recipes-devtools/python/python3-aiohttp_3.13.2.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-aiohttp_3.13.2.bb +2 -0
@@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=748073912af33aa59430d3702aa32d41" SRC_URI[sha256sum] = "40176a52c186aefef6eb3cad2cdd30cd06e3afbe88fe8ab2af9c0b90f228daca" +CVE_PRODUCT = "aiohttp" + inherit python_setuptools_build_meta pypi DEPENDS = "python3-pkgconfig-native"
PATCH 8/34 python3-eventlet: set CVE_PRODUCT
In reply to Gyorgy SarvariThe relevant CVEs are tracked using eventlet:eventlet CPE, and the default python:eventlet CPE doesn't match relevant CVEs.
Set the correct CVE_PRODUCT.
See CVE db query:
sqlite> select * from products where product like 'eventlet';
CVE-2021-21419|eventlet|eventlet|0.10|>=|0.31.0|< CVE-2023-29483|eventlet|eventlet|||0.35.2|< CVE-2025-58068|eventlet|eventlet|||0.40.3|<
--- meta-python/recipes-devtools/python/python3-eventlet_0.40.4.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-eventlet_0.40.4.bb +2 -0
@@ -7,6 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=56472ad6de4caf50e05332a34b66e778" SRC_URI += "file://d19ad6cc086684ee74db250f5fd35227c98e678a.patch" SRC_URI[sha256sum] = "69bef712b1be18b4930df6f0c495d2a882bf7b63aa111e7b6eeff461cfcaf26f" +CVE_PRODUCT = "eventlet" + inherit pypi python_hatchling DEPENDS += "python3-hatch-vcs-native"
PATCH 9/34 python3-flask-user: set CVE_PRODUCT
In reply to Gyorgy SarvariThe relevant CVE is tracked using flask-user_project:flask-user CPE, so the default python:flask-user value doesn't match it.
Set CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like 'flask-user'; CVE-2021-23401|flask-user_project|flask-user|-|||
--- .../recipes-devtools/python/python3-flask-user_0.6.19.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb +2 -0
@@ -11,6 +11,8 @@ SRC_URI[sha256sum] = "601abcc0343dfbae0c56273d98362d5cdc266ac84d20b3f65a212e4a2c PYPI_PACKAGE = "Flask-User" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" +CVE_PRODUCT = "flask-user" + inherit pypi setuptools3 RDEPENDS:${PN} = " \
PATCH 10/34 python3-mpmath: set CVE_PRODUCT
In reply to Gyorgy SarvariThe CVE database tracks relevant CVEs with mpmath:mpmath CPE. Set the CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like 'mpmath'; CVE-2021-29063|mpmath|mpmath|1.0.0|>=|1.2.1|<=
--- meta-python/recipes-devtools/python/python3-mpmath_1.3.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-mpmath_1.3.0.bb +2 -0
@@ -8,6 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=bde3c575382996b75d85702949512751" SRC_URI[sha256sum] = "7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f" +CVE_PRODUCT = "mpmath" + inherit pypi setuptools3 DEPENDS += "python3-setuptools-scm-native"
PATCH 11/34 python3-pikepdf: set CVE_PRODUCT
In reply to Gyorgy SarvariThe relevant CVEs are tracked with pikepdf_project:pikepdf CPE, and the default python:pikepdf doesn't match CVEs. Set CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like 'pikepdf'; CVE-2021-29421|pikepdf_project|pikepdf|1.3.0|>=|2.9.2|<=
--- meta-python/recipes-devtools/python/python3-pikepdf_10.0.3.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pikepdf_10.0.3.bb +2 -0
@@ -9,6 +9,8 @@ inherit pypi python_setuptools_build_meta PYPI_PACKAGE = "pikepdf" +CVE_PRODUCT = "pikepdf" + DEPENDS += " \ python3-pybind11-native \ qpdf \
PATCH 12/34 python3-pydantic: set CVE_PRODUCT
In reply to Gyorgy SarvariSet correct CVE_PRODUCT - the default ${PN} value doesn't match relevant CVEs.
See CVE query (n8n vendor is not relevant):
sqlite> select * from products where product like '%pydantic%';
CVE-2021-29510|pydantic|pydantic|||1.6.2|< CVE-2021-29510|pydantic|pydantic|1.7|>=|1.7.4|< CVE-2021-29510|pydantic|pydantic|1.8|>=|1.8.2|< CVE-2024-3772|pydantic|pydantic|||1.10.13|<
CVE-2024-3772|pydantic|pydantic|2.0|>=|2.4.0|<
CVE-2025-55526|n8n|pydantic|2.11.7|=||
--- meta-python/recipes-devtools/python/python3-pydantic_2.12.4.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pydantic_2.12.4.bb +2 -0
@@ -16,6 +16,8 @@ PV .= "+git" SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=v2.12-fixes" DEPENDS += "python3-hatch-fancy-pypi-readme-native" +CVE_PRODUCT = "pydantic:pydantic" + RECIPE_NO_UPDATE_REASON = "Must be updated in sync with python3-pydantic-core." RDEPENDS:${PN} += "\
PATCH 13/34 python3-lief: set CVE_PRODUCT
In reply to Gyorgy SarvariThe 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|=||
--- meta-python/recipes-devtools/python/python3-lief_0.17.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-lief_0.17.1.bb +2 -0
@@ -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}"
PATCH 14/34 python3-fastapi: set CVE_PRODUCT
In reply to Gyorgy SarvariSet correct CVE_PRODUCT - the default (python:fastapi) is not the one that is used to track CVEs.
See CVE db query (n8n vendor is not relevant):
sqlite> select * from products where product like 'fastapi'; CVE-2021-32677|tiangolo|fastapi|||0.65.2|<|0 CVE-2025-55526|n8n|fastapi|0.115.14|=|||0
--- meta-python/recipes-devtools/python/python3-fastapi_0.124.4.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-fastapi_0.124.4.bb +2 -0
@@ -7,6 +7,8 @@ SRC_URI[sha256sum] = "0e9422e8d6b797515f33f500309f6e1c98ee4e85563ba0f2debb282df6 SRC_URI += "file://run-ptest" +CVE_PRODUCT = "tiangolo:fastapi" + inherit pypi python_pdm ptest-python-pytest PACKAGECONFIG ?= ""
PATCH 15/34 python3-flask-restx: set CVE_PRODUCT
In reply to Gyorgy SarvariThe relevant CVEs are tracked using flask-restx_project:flask-restx CPE, which makes the default python:flask-restx CPE to not match relevant CVEs.
Set CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like '%flask-restx%'; CVE-2021-32838|flask-restx_project|flask-restx|||0.5.1|<
--- .../recipes-devtools/python/python3-flask-restx_1.3.2.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-flask-restx_1.3.2.bb +2 -0
@@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c96dd911c6d9e32868b6bc667a38a3e2" SRC_URI[sha256sum] = "0ae13d77e7d7e4dce513970cfa9db45364aef210e99022de26d2b73eb4dbced5" +CVE_PRODUCT = "flask-restx" + inherit pypi setuptools3 RDEPENDS:${PN} += " \
PATCH 16/34 python3-sqlparse: set CVE_PRODUCT
In reply to Gyorgy SarvariThe relevant CVEs are tracked with sqlparse_project:sqlparse CPE, and the default python:sqlparse CPE doesn't match relevant CVEs.
Set CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like '%sqlparse%';
CVE-2021-32839|sqlparse_project|sqlparse|0.4.0|>=|0.4.2|< CVE-2023-30608|sqlparse_project|sqlparse|0.1.15|>=|0.4.4|<
--- meta-python/recipes-devtools/python/python3-sqlparse_0.5.4.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-sqlparse_0.5.4.bb +2 -0
@@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc" SRC_URI[sha256sum] = "4396a7d3cf1cd679c1be976cf3dc6e0a51d0111e87787e7a8d780e7d5a998f9e" +CVE_PRODUCT = "sqlparse" + export BUILD_SYS export HOST_SYS
PATCH 17/34 python3-cvxopt: set CVE_PRODUCT
In reply to Gyorgy SarvariSet correct CVE_PRODUCT to be used instead of ${PN}.
See CVE db query:
sqlite> select * from products where product like '%cvxopt%'; CVE-2021-41500|cvxopt_project|cvxopt|||1.2.6|<=
--- meta-python/recipes-devtools/python/python3-cvxopt_1.3.2.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-cvxopt_1.3.2.bb +1 -0
@@ -7,6 +7,7 @@ SRC_URI = "git://github.com/cvxopt/cvxopt;protocol=https;branch=master" SRCREV = "3b718ee560b3b97d6255c55f0ed7f64cb4b72082" +CVE_PRODUCT = "cvxopt" RDEPENDS:${PN} += "lapack suitesparse" DEPENDS += "lapack suitesparse"
PATCH 18/34 python3-httpx: set CVE_PRODUCT
In reply to Gyorgy SarvariThe relevant CVEs are tracked in the CVE db with encode:httpx CPE instead of the default python:httpx. Set CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like '%httpx%'; CVE-2021-41945|encode|httpx|||0.23.0|<
--- meta-python/recipes-devtools/python/python3-httpx_0.28.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-httpx_0.28.1.bb +2 -0
@@ -7,6 +7,8 @@ inherit pypi python_hatchling SRC_URI[sha256sum] = "75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc" +CVE_PRODUCT = "encode:httpx" + DEPENDS += "\ python3-hatch-fancy-pypi-readme-native \ "
PATCH 19/34 python3-binwalk: set CVE_PRODUCT
In reply to Gyorgy SarvariSet correct CVE_PRODUCT to use instead of the default ${PN}, which doesn't match relevant CVEs.
See CVE db query:
sqlite> select * from products where product like '%binwalk%';
CVE-2021-4287|microsoft|binwalk|||2.3.3|<|0 CVE-2022-4510|microsoft|binwalk|2.2.0|>=|2.3.3|<|0
--- meta-python/recipes-devtools/python/python3-binwalk_2.3.4.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-binwalk_2.3.4.bb +1 -0
@@ -10,6 +10,7 @@ SRC_URI = "git://github.com/ReFirmLabs/binwalk;protocol=https;branch=master" SRCREV = "cddfede795971045d99422bd7a9676c8803ec5ee" +CVE_PRODUCT = "binwalk" UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
PATCH 20/34 python3-eth-account: set CVE_PRODUCT
In reply to Gyorgy SarvariThe relevant CVEs are tracked with ethereum:eth-account CPE, and the default python:eth-account one doesn't match relevant entries.
Set CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like '%eth-account%'; CVE-2022-1930|ethereum|eth-account|||0.5.9|<
--- .../recipes-devtools/python/python3-eth-account_0.13.7.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-eth-account_0.13.7.bb +1 -0
@@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a26e64020156e806cf0054a6d504b301" SRC_URI[sha256sum] = "5853ecbcbb22e65411176f121f5f24b8afeeaf13492359d254b16d8b18c77a46" PYPI_PACKAGE = "eth_account" +CVE_PRODUCT = "eth-account" inherit pypi setuptools3
PATCH 21/34 python3-joblib: set CVE_PRODUCT
In reply to Gyorgy SarvariThe relevant CVEs are tracked with joblib_project:joblib CPE, and the default python:joblib CPE doesn't match this. Set the CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like '%joblib%';
CVE-2022-21797|joblib_project|joblib|||1.1.1|< CVE-2024-34997|joblib_project|joblib|1.4.2|=||
--- meta-python/recipes-devtools/python/python3-joblib_1.5.3.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-joblib_1.5.3.bb +2 -0
@@ -6,6 +6,8 @@ inherit python_setuptools_build_meta pypi SRC_URI[sha256sum] = "8561a3269e6801106863fd0d6d84bb737be9e7631e33aaed3fb9ce5953688da3" +CVE_PRODUCT = "joblib" + RDEPENDS:${PN} += " \ python3-asyncio \ python3-json \
PATCH 22/34 python3-priority: set CVE_PRODUCT
In reply to Gyorgy SarvariSet CVE_PRODUCT to the value that is used to track CVEs for this recipe in the CVE db.
See CVE db query (priority-software vendor is not relevant):
sqlite> select * from products where product like '%priority%';
CVE-2016-6580|python|python_priority_library|1.0.0|=|| CVE-2016-6580|python|python_priority_library|1.1.0|=|| CVE-2016-6580|python|python_priority_library|1.1.1|=|| CVE-2021-26832|priority-software|priority_enterprise_management_system|8.00|=|| CVE-2022-23172|priority-software|priority|||22.0|< CVE-2022-23173|priority-software|priority|||22.0|< CVE-2023-23459|priority-software|priority|||22.1|< CVE-2023-23460|priority-software|priority|19.1.0.68|=|| CVE-2024-41697|priority-software|priority|||24.0|< CVE-2024-41698|priority-software|priority|||24.0|< CVE-2024-41699|priority-software|priority|||24.0|<
--- .../python-priority/python3-priority_2.0.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-connectivity/python-priority/python3-priority_2.0.0.bb +2 -0
@@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ae57d8a09fc8b6b164d7357339619045" SRC_URI[sha256sum] = "c965d54f1b8d0d0b19479db3924c7c36cf672dbf2aec92d43fbdaf4492ba18c0" +CVE_PRODUCT = "python:python_priority_library" + PTEST_PYTEST_DIR = "test" inherit pypi setuptools3 ptest-python-pytest
PATCH 23/34 python3-oauthlib: set CVE_PRODUCT
In reply to Gyorgy SarvariThe relevant CVEs are tracked using oathlib_project:oathlib CPE, and the default python:oauthlib CPE doesn't match relevant entries.
Set the CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like 'oauthlib'; CVE-2022-36087|oauthlib_project|oauthlib|3.1.1|>=|3.2.1|<
--- meta-python/recipes-devtools/python/python3-oauthlib_3.3.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-oauthlib_3.3.1.bb +2 -0
@@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2699a9fb0d71d5eafd75d8d7c302f7df" SRC_URI[sha256sum] = "0f0f8aa759826a193cf66c12ea1af1637f87b9b4622d46e866952bb022e538c9" +CVE_PRODUCT = "oauthlib" + inherit pypi setuptools3 # The following configs & dependencies are from setuptools extras_require.
PATCH 24/34 python3-py7zr: set CVE_PRODUCT
In reply to Gyorgy SarvariThe related CVEs are tracked with py7zr_project:py7zr CPE in the database, and the default python:py7zr CPE doesn't match relevant entries.
Set CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like '%py7zr%'; CVE-2022-44900|py7zr_project|py7zr|||0.20.1|<
--- meta-python/recipes-devtools/python/python3-py7zr_1.0.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-py7zr_1.0.0.bb +2 -0
@@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" SRC_URI[sha256sum] = "f6bfee81637c9032f6a9f0eb045a4bfc7a7ff4138becfc42d7cb89b54ffbfef1" +CVE_PRODUCT = "py7zr" + inherit pypi python_setuptools_build_meta DEPENDS += " \
PATCH 25/34 python3-configobj: set CVE_PRODUCT
In reply to Gyorgy SarvariThe related CVEs are tracked with configobj_peroject:configobj CPE in the database, and the default python:configobj CPE doesn't match relevant entries.
Set CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like '%configobj%'; CVE-2023-26112|configobj_project|configobj|-|||
--- meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb +2 -0
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e2df3cb285297a24cd1097dfe6e96f95" SRC_URI[sha256sum] = "03c881bbf23aa07bccf1b837005975993c4ab4427ba57f959afdd9d1a2386848" +CVE_PRODUCT = "configobj" + inherit pypi python_setuptools_build_meta ptest-python-pytest PTEST_PYTEST_DIR = "src/tests"
PATCH 26/34 python3-markdown-it-py: set CVE_PRODUCT
In reply to Gyorgy SarvariThe related CVE entries are tracked with executablebooks:markdown-it-py CPE value, and the default python:markdown-it-py CPE doesn't match relevant entries. Set CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like '%markdown-it-py%';
CVE-2023-26302|executablebooks|markdown-it-py|||2.2.0|< CVE-2023-26303|executablebooks|markdown-it-py|||2.2.0|<
--- .../recipes-devtools/python/python3-markdown-it-py_3.0.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-markdown-it-py_3.0.0.bb +1 -0
@@ -10,5 +10,6 @@ inherit pypi python_flit_core RDEPENDS:${PN} += "python3-mdurl" PYPI_PACKAGE = "markdown-it-py" +CVE_PRODUCT = "markdown-it-py" BBCLASSEXTEND = "native nativesdk"
PATCH 27/34 python3-starlette: set CVE_PRODUCT
In reply to Gyorgy SarvariThe relevant CVE entries are tracked with encode:starlette CPE, and the default python:starlette CPE doesn't match relevant entries. Set CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like '%starlette%';
CVE-2023-29159|encode|starlette|0.13.5|>=|0.27.0|< CVE-2023-30798|encode|starlette|||0.25.0|<
--- meta-python/recipes-devtools/python/python3-starlette_0.50.0.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-starlette_0.50.0.bb +1 -0
@@ -7,6 +7,7 @@ SRC_URI[sha256sum] = "a2a17b22203254bcbc2e1f926d2d55f3f9497f769416b3190768befe59 inherit pypi python_hatchling ptest PYPI_PACKAGE = "starlette" +CVE_PRODUCT = "starlette" SRC_URI += " \ file://run-ptest \
PATCH 28/34 python3-dnspython: set CVE_PRODUCT
In reply to Gyorgy SarvariThe related CVEs are tracked using dnspython:dnspython CPE, and the default python:dnspython CPE doesn't match relevant entries. Set CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like '%dnspython%'; CVE-2023-29483|dnspython|dnspython|||2.6.0|<
--- meta-python/recipes-devtools/python/python3-dnspython_2.8.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-dnspython_2.8.0.bb +2 -0
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5af50906b5929837f667dfe31052bd34" SRC_URI[sha256sum] = "181d3c6996452cb1189c4046c61599b84a5a86e099562ffde77d26984ff26d0f" +CVE_PRODUCT = "dnspython" + inherit pypi python_hatchling ptest SRC_URI += " \
PATCH 29/34 python3-gevent: set CVE_PRODUCT
In reply to Gyorgy SarvariRelevant CVEs are tracked with gevent:gevent CPE, and the default python:gevent CPE doesn't match relevant entries. Set CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like '%gevent%'; CVE-2023-41419|gevent|gevent|||23.9.0|<
--- meta-python/recipes-devtools/python/python3-gevent_25.9.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-gevent_25.9.1.bb +2 -0
@@ -17,6 +17,8 @@ SRC_URI += "file://0001-_setuputils.py-Do-not-add-sys_inc_dir.patch" SRC_URI[sha256sum] = "adf9cd552de44a4e6754c51ff2e78d9193b7fa6eab123db9578a210e657235dd" +CVE_PRODUCT = "gevent" + inherit pypi python_setuptools_build_meta cython # Don't embed libraries, link to the system provided libs instead
PATCH 30/34 python3-ecdsa: set CVE_PRODUCT
In reply to Gyorgy SarvariSet the correct CVE_PRODUCT value, the default python: ecdsa doesn't match relevant entries.
The correct values were taken from the CVE db, by checking which CVEs are relevant.
See CVE db query:
sqlite> select * from products where product like '%ecdsa%';
CVE-2019-14853|python-ecdsa_project|python-ecdsa|||0.13.3|< CVE-2019-14859|python-ecdsa_project|python-ecdsa|||0.13.3|< CVE-2020-12607|antonkueltz|fastecdsa|||2.1.2|< CVE-2021-43568|starkbank|elixir_ecdsa|1.0.0|=|| CVE-2021-43569|starkbank|ecdsa-dotnet|1.3.2|=|| CVE-2021-43570|starkbank|ecdsa-java|1.0.0|=|| CVE-2021-43571|starkbank|ecdsa-node|1.1.2|=|| CVE-2021-43572|starkbank|ecdsa-python|||2.0.1|< CVE-2022-24884|ecdsautils_project|ecdsautils|||0.4.1|< CVE-2024-21502|antonkueltz|fastecdsa|||2.3.2|< CVE-2024-23342|tlsfuzzer|ecdsa|||0.18.0|<=
--- meta-python/recipes-devtools/python/python3-ecdsa_0.19.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-ecdsa_0.19.1.bb +2 -0
@@ -6,6 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=66ffc5e30f76cbb5358fe54b645e5a1d" PYPI_PACKAGE = "ecdsa" SRC_URI[sha256sum] = "478cba7b62555866fcb3bb3fe985e06decbdb68ef55713c4e5ab98c57d508e61" +CVE_PRODUCT = "python-ecdsa_project:python-ecdsa tlsfuzzer:ecdsa" + inherit pypi setuptools3 python3native ptest-python-pytest RDEPENDS:${PN}-ptest += " \
PATCH 31/34 python3-python-multipart: set CVE_PRODUCT
In reply to Gyorgy SarvariThe default python:python_multipart CPE doesn't match relevant CVE entries, because NVD tracks the related CVEs with fastapiexpect:python-multipart CPE, and Mitre uses kludex:python-multipart for others.
Set the CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like '%python%multipart%';
CVE-2024-24762|fastapiexpert|python-multipart|||0.0.7|< CVE-2024-24762|fastapiexpert|python-multipart|||0.0.7|<
--- .../recipes-devtools/python/python3-python-multipart_0.0.21.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-python-multipart_0.0.21.bb +1 -0
@@ -8,6 +8,7 @@ inherit pypi python_hatchling ptest-python-pytest PYPI_PACKAGE = "python_multipart" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" +CVE_PRODUCT = "python-multipart" RDEPENDS:${PN}-ptest += " \ python3-pyyaml \
PATCH 32/34 python3-orjson: set CVE_PRODUCT
In reply to Gyorgy SarvariThe default python:orjson CPE fails to match related CVEs, because NVD tracks them using ijl:orjson CPE. Set CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like '%orjson%'; CVE-2024-27454|ijl|orjson|||3.9.15|<
--- meta-python/recipes-devtools/python/python3-orjson_3.10.17.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-orjson_3.10.17.bb +2 -0
@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d" SRC_URI[sha256sum] = "28eeae6a15243966962b658dfcf7bae9e7bb1f3260dfcf0370dbd41f5ff6058b" +CVE_PRODUCT = "orjson" + require ${BPN}-crates.inc inherit pypi python_maturin cargo-update-recipe-crates
PATCH 33/34 python3-pymongo: set CVE_PRODUCT
In reply to Gyorgy SarvariThe default python:pymongo CPE fails to match related CVE entries, because they are tracked using mongodb:pymongo CPE. Set CVE_PRODUCT accordingly.
See CVE db query:
sqlite> select * from products where product like '%pymongo%'; CVE-2024-5629|mongodb|pymongo|||4.6.3|<|0
--- meta-python/recipes-devtools/python/python3-pymongo_4.15.5.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pymongo_4.15.5.bb +2 -0
@@ -10,6 +10,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" SRC_URI[sha256sum] = "3a8d6bf2610abe0c97c567cf98bf5bba3e90ccc93cc03c9dde75fa11e4267b42" +CVE_PRODUCT = "pymongo" + inherit pypi python_hatchling PACKAGES =+ "python3-bson"
PATCH 34/34 python3-scapy: set CVE_PRODUCT
In reply to Gyorgy SarvariThe 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|=||
--- meta-networking/recipes-devtools/python/python3-scapy_2.6.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-devtools/python/python3-scapy_2.6.1.bb +2 -0
@@ -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() {