From ea635ace50cf8149262bd9649c6928fb0018fff7 Mon Sep 17 00:00:00 2001 From: Peter Marko Date: Thu, 19 Jun 2025 18:52:10 +0200 Subject: [PATCH] go: set status of CVE-2024-3566 NVD ([1]) tracks this as: cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* Running on/with cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* Yocto cve-check ignores the "Running on/with", so it needs to be ignored explicitly. [1] https://nvd.nist.gov/vuln/detail/CVE-2024-3566 (From OE-Core rev: c8ce6710d864d237fdf67d2c3d3aa0f0970a2a05) Signed-off-by: Peter Marko Signed-off-by: Richard Purdie --- meta/recipes-devtools/go/go-binary-native_1.24.4.bb | 1 + meta/recipes-devtools/go/go-common.inc | 1 + 2 files changed, 2 insertions(+) diff --git a/meta/recipes-devtools/go/go-binary-native_1.24.4.bb b/meta/recipes-devtools/go/go-binary-native_1.24.4.bb index 9f788536c4..a5324d0f06 100644 --- a/meta/recipes-devtools/go/go-binary-native_1.24.4.bb +++ b/meta/recipes-devtools/go/go-binary-native_1.24.4.bb @@ -17,6 +17,7 @@ UPSTREAM_CHECK_URI = "https://golang.org/dl/" UPSTREAM_CHECK_REGEX = "go(?P\d+(\.\d+)+)\.linux" CVE_PRODUCT = "golang:go" +CVE_STATUS[CVE-2024-3566] = "not-applicable-platform: Issue only applies on Windows" S = "${WORKDIR}/go" diff --git a/meta/recipes-devtools/go/go-common.inc b/meta/recipes-devtools/go/go-common.inc index ca8469dbd9..a79c90faf8 100644 --- a/meta/recipes-devtools/go/go-common.inc +++ b/meta/recipes-devtools/go/go-common.inc @@ -21,6 +21,7 @@ UPSTREAM_CHECK_REGEX = "(?P\d+(\.\d+)+)\.src\.tar" # all recipe variants are created from the same product CVE_PRODUCT = "golang:go" +CVE_STATUS[CVE-2024-3566] = "not-applicable-platform: Issue only applies on Windows" INHIBIT_PACKAGE_DEBUG_SPLIT = "1" SSTATE_SCAN_CMD = "true"