Skip to contentSkip to conversation

fex: ignore unrelated CVEs

PATCH New Gyorgy Sarvari 1 participant 3 messages Dec 22, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 fex: ignore unrelated CVEs

These CVEs were filed for "Fram's Fast File Exchange" application, which has the same abbreviated name as fex. Currently this recipe has no historical CVEs associated, so I couldn't set the correct CVE_PRODUCT. Rather ignore these irrelevant CVEs explicitly.

(cherry picked from commit b990486203b8eca688cfb6fc9bebf8b138e0b334)
---
 meta-oe/recipes-devtools/fex/fex_2511.bb | 6 ++++++
 1 file changed, 6 insertions(+)
meta-oe/recipes-devtools/fex/fex_2511.bb +6 -0
index 9c0748ac63..88dd48f953 100644
@@ -54,3 +54,9 @@ LDFLAGS += "-fuse-ld=lld"
 
 FILES:${PN} += "${datadir} ${libdir}/binfmt.d ${libdir}/libFEXCore.so"
 FILES:${PN}-dev = "${includedir}"
+
+# At the time of writing this, this recipe has no historical CVEs associated, and couldn't
+# find a CPE to set. So ignore these unrelated vulnerabilities.
+CVE_STATUS_GROUPS = "CVE_STATUS_WRONG_CPE"
+CVE_STATUS_WRONG_CPE[status] = "cpe-incorrect: These vulnerabilities are for unrelated Fram's Fast File-EXchange application"
+CVE_STATUS_WRONG_CPE = "CVE-2012-0869 CVE-2012-1293 CVE-2014-3875 CVE-2014-3876 CVE-2014-3877"
#1 lore raw

PATCH 2/3 accountservice: ignore CVE-2023-3297

Details: https://nvd.nist.gov/vuln/detail/CVE-2023-3297

The vulnerability is triggered by a patch added by Ubuntu, and the vulnerable patch is not present in the recipe.

(cherry picked from commit 071a45c9d76c9a222c8fbaa50089a8af44f44e74)
---
 .../recipes-support/accountsservice/accountsservice_23.13.9.bb  | 2 ++
 1 file changed, 2 insertions(+)
meta-gnome/recipes-support/accountsservice/accountsservice_23.13.9.bb +2 -0
index e3dfcfffff..c024ae3f92 100644
@@ -41,3 +41,5 @@ FILES:${PN} += " \
     ${datadir}/dbus-1 \
     ${datadir}/polkit-1 \
 "
+
+CVE_STATUS[CVE-2023-3297] = "not-applicable-platform: The vulnerability is Ubuntu specific"
#2 lore raw

PATCH 3/3 minio: ignore irrelevant CVEs

In reply to Gyorgy Sarvari

The minio umbrella covers multiple projects. The recipe itself builds "minio client", which is a set of basic tools to query data from "minio server" - like ls, mv, find...

The CVEs were files against minio server. Looking at the go mod list, this recipe doesn't use minio server even as a build dependency - so ignore the CVEs.

(cherry picked from commit df462075be855c60117af661dbce1836c652fc16)
---
 meta-oe/recipes-extended/minio/minio_git.bb | 6 ++++++
 1 file changed, 6 insertions(+)
meta-oe/recipes-extended/minio/minio_git.bb +6 -0
index f278a728fd..511dd4d869 100644
@@ -164,3 +164,9 @@ do_install() {
     install -d ${D}/${sbindir}
     install ${S}/src/${GO_IMPORT}/mc ${D}/${sbindir}/mc
 }
+
+CVE_STATUS_GROUPS += "CVE_STATUS_WRONG_CPE"
+CVE_STATUS_WRONG_CPE[status] = "cpe-incorrect: The vulnerability is in minio server, not in minio client-tools"
+CVE_STATUS_WRONG_CPE = "CVE-2018-1000538 CVE-2020-11012 CVE-2021-21287 CVE-2021-21362 \
+                        CVE-2021-21390 CVE-2021-43858 CVE-2022-35919 CVE-2023-28433 \
+                        CVE-2023-28434 CVE-2024-36107"