fex: ignore unrelated CVEs
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.
--- meta-oe/recipes-devtools/fex/fex_2511.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-oe/recipes-devtools/fex/fex_2511.bb +6 -0
@@ -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"
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.
--- .../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
@@ -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"
PATCH 3/3 minio: ignore irrelevant CVEs
In reply to Gyorgy SarvariThe 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.
--- meta-oe/recipes-extended/minio/minio_git.bb | 6 ++++++ 1 file changed, 6 insertions(+)
meta-oe/recipes-extended/minio/minio_git.bb +6 -0
@@ -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"