python3-idna: set CVE_PRODUCT
PATCH 1/1 python3-idna: set CVE_PRODUCT
From: "mark.yang" <[email protected]>
The pypi class default python:idna matches nothing in the CVE databases, which track the Python idna CVEs as:
* CVE-2024-3651 (kjd:internationalized_domain_names_in_applications) [1]
* CVE-2026-45409 (kjd:idna in the CNA record, same NVD CPE as above)
Set both vendor:product pairs.
For wrynose, python3-idna is 3.11. CVE-2024-3651 is fixed before 3.7, so it does not apply here. CVE-2026-45409 affects idna versions before 3.15, so this metadata change will expose that CVE as applicable/unpatched for wrynose.
The bare product name is not an option here: it would also match "servo:idna", the Rust idna crate (e.g. CVE-2024-12224).
[1] https://nvd.nist.gov/vuln/detail/CVE-2024-3651
--- meta/recipes-devtools/python/python3-idna_3.11.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-idna_3.11.bb +2 -0
@@ -10,4 +10,6 @@ inherit pypi python_flit_core ptest-python-pytest RDEPENDS:${PN} += "python3-codecs" RDEPENDS:${PN}-ptest += "python3-unittest-automake-output" +CVE_PRODUCT = "kjd:idna kjd:internationalized_domain_names_in_applications" + BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.35.6