]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
python3-pyyaml: set CVE_PRODUCT
authormark.yang <mark.yang@lge.com>
Wed, 22 Jul 2026 05:58:48 +0000 (14:58 +0900)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Jul 2026 10:27:21 +0000 (11:27 +0100)
The pypi class default python:pyyaml vendor prefix matches nothing,
so PyYAML CVEs are not evaluated at all. The databases use two
vendor spellings: pyyaml in the NVD CPEs, and "Red Hat" (with a
space, not expressible as a vendor:product pair) in CVE-2020-1747's
CNA record. Use the bare product name to cover both.

All four existing CVEs (CVE-2017-18342, CVE-2019-20477,
CVE-2020-1747, CVE-2020-14343) are fixed by 5.4, so they resolve as
not affected at 6.0.3.

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-pyyaml_6.0.3.bb

index 7e2b088ca5d1e913cfbc0807c5452bf19a402a38..849e2c9cc8da9d210ace09f5584d1146edd87e0d 100644 (file)
@@ -21,4 +21,6 @@ RDEPENDS:${PN} += "\
     python3-netclient \
 "
 
+CVE_PRODUCT = "pyyaml"
+
 BBCLASSEXTEND = "native nativesdk"