Skip to contentSkip to conversation

shadow: set CVE_PRODUCT

PATCH New Peter Marko 1 participant 5 messages Apr 25

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 shadow: set CVE_PRODUCT

From: Peter Marko <[email protected]>

This will remove CVE-2016-15024 from open cve reports. This CVE for is for "doomsider:shadow" [1].

It will also remove
* CVE-2018-16588 (suse:shadow, [2])
* CVE-2019-16110 (blade-group:shadow [3])
which can be verified that they don't affect Yocto shadow.

[1] https://security-tracker.debian.org/tracker/CVE-2016-15024
[2] https://security-tracker.debian.org/tracker/CVE-2018-16588
[3] https://security-tracker.debian.org/tracker/CVE-2019-16110

---
 meta/recipes-extended/shadow/shadow_4.19.4.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-extended/shadow/shadow_4.19.4.bb +2 -0
index 94f155641c..f70d1ca5f3 100644
@@ -38,6 +38,8 @@ PAM_SRC_URI = "file://pam.d/chfn \
                file://pam.d/passwd \
                file://pam.d/su"
 
+CVE_PRODUCT = "debian:shadow shadow_project:shadow"
+
 inherit autotools gettext github-releases pkgconfig
 
 export CONFIG_SHELL = "/bin/sh"
#1 lore raw

PATCH 2/5 ruby: set status for CVE-2025-0306

From: Peter Marko <[email protected]>

This is a version-less Redhat CVE, so explicit status is needed. Per [1] the issue is mitigated by using openssl >= 3.2.0.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2336100

---
 meta/recipes-devtools/ruby/ruby_4.0.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/ruby/ruby_4.0.2.bb +2 -0
index ba24e8601c..f2076e0f2c 100644
@@ -140,3 +140,5 @@ FILES:${PN}-ptest:append:class-target = "\
 "
 
 BBCLASSEXTEND = "native nativesdk"
+
+CVE_STATUS[CVE-2025-0306] = "not-applicable-config: issue does not occur with openssl >= 3.2.0"
#2 lore raw

PATCH 3/5 python3-setuptools: set status for CVE-2024-6345

In reply to Peter Marko

From: Peter Marko <[email protected]>

Current version of sbom-cve-check reports this for some reason. NVD does not have CPE and cvelistV5 ([1]) says "lessThan": "70.0".

[1] https://github.com/CVEProject/cvelistV5/blob/main/cves/2024/6xxx/CVE-2024-6345.json

---
 meta/recipes-devtools/python/python3-setuptools_82.0.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-devtools/python/python3-setuptools_82.0.1.bb +2 -0
index a3943a29c3..c413578faf 100644
@@ -49,3 +49,5 @@ BBCLASSEXTEND = "native nativesdk"
 # This used to use the bootstrap install which didn't compile. Until we bump the
 # tmpdir version we can't compile the native otherwise the sysroot unpack fails
 INSTALL_WHEEL_COMPILE_BYTECODE:class-native = "--no-compile-bytecode"
+
+CVE_STATUS[CVE-2024-6345] = "fixed-version: fixed since 70.0"
#3 lore raw

PATCH 4/5 p11-kit: set status for CVE-2026-2100

In reply to Peter Marko

From: Peter Marko <[email protected]>

This is a Redhat version-less CVE in NVD DB.
Per [1] this is fixed in 0.26.2.

[1] https://security-tracker.debian.org/tracker/CVE-2026-2100

---
 meta/recipes-support/p11-kit/p11-kit_0.26.2.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-support/p11-kit/p11-kit_0.26.2.bb +2 -0
index fa41b45feb..5f553f11bb 100644
@@ -42,3 +42,5 @@ BBCLASSEXTEND = "native nativesdk"
 # git/p11-kit/import-object.c:229:70: error: passing argument 3 of 'p11_asn1_read' from incompatible pointer type [-Wincompatible-pointer-types]
 # git/p11-kit/import-object.c:264:78: error: passing argument 3 of 'p11_asn1_read' from incompatible pointer type [-Wincompatible-pointer-types]
 CFLAGS += "-Wno-error=incompatible-pointer-types"
+
+CVE_STATUS[CVE-2026-2100] = "fixed-version: fixed since 0.26.2"
#4 lore raw

PATCH 5/5 libva: set status for CVE-2023-39929

In reply to Peter Marko

From: Peter Marko <[email protected]>

This CVE is reported as open because NVD has no cpe and cvelistV5 has unparseable "version": "before version 2.20.0".

---
 meta/recipes-graphics/libva/libva_2.23.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-graphics/libva/libva_2.23.0.bb +2 -0
index 63dc5af8f2..39a80db7f8 100644
@@ -13,3 +13,5 @@ RDEPENDS:${PN}-glx =+ "${PN}-x11"
 FILES:${PN}-x11 =+ "${libdir}/libva-x11*${SOLIBS}"
 FILES:${PN}-glx =+ "${libdir}/libva-glx*${SOLIBS}"
 FILES:${PN}-wayland =+ "${libdir}/libva-wayland*${SOLIBS}"
+
+CVE_STATUS[CVE-2023-39929] = "fixed-version: fixed since 2.20.0"