diff options
author | Peter Marko <peter.marko@siemens.com> | 2025-06-19 18:49:11 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-06-25 08:11:58 -0700 |
commit | 753ec02637b58a58425893ba2be8ccb007ef9c54 (patch) | |
tree | 6269648da9a1607d5e98e0fc461d1d62bf65b963 | |
parent | b4284b3eb2c29e00f9cf22113bfd4b165f76dff9 (diff) | |
download | poky-753ec02637b58a58425893ba2be8ccb007ef9c54.tar.gz |
go: ignore 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: 571fd82e29fe809c63a5743e534ed7816d787963)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/recipes-devtools/go/go-binary-native_1.17.13.bb | 3 | ||||
-rw-r--r-- | meta/recipes-devtools/go/go-common.inc | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/go/go-binary-native_1.17.13.bb b/meta/recipes-devtools/go/go-binary-native_1.17.13.bb index 4ee0148417..0f356b0e79 100644 --- a/meta/recipes-devtools/go/go-binary-native_1.17.13.bb +++ b/meta/recipes-devtools/go/go-binary-native_1.17.13.bb | |||
@@ -14,6 +14,9 @@ SRC_URI[go_linux_arm64.sha256sum] = "914daad3f011cc2014dea799bb7490442677e4ad6de | |||
14 | UPSTREAM_CHECK_URI = "https://golang.org/dl/" | 14 | UPSTREAM_CHECK_URI = "https://golang.org/dl/" |
15 | UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux" | 15 | UPSTREAM_CHECK_REGEX = "go(?P<pver>\d+(\.\d+)+)\.linux" |
16 | 16 | ||
17 | # not-applicable-platform: Issue only applies on Windows | ||
18 | CVE_CHECK_IGNORE += "CVE-2024-3566" | ||
19 | |||
17 | S = "${WORKDIR}/go" | 20 | S = "${WORKDIR}/go" |
18 | 21 | ||
19 | inherit goarch native | 22 | inherit goarch native |
diff --git a/meta/recipes-devtools/go/go-common.inc b/meta/recipes-devtools/go/go-common.inc index 83f8db7b39..e2ffba27bd 100644 --- a/meta/recipes-devtools/go/go-common.inc +++ b/meta/recipes-devtools/go/go-common.inc | |||
@@ -19,6 +19,9 @@ S = "${WORKDIR}/go" | |||
19 | B = "${S}" | 19 | B = "${S}" |
20 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.src\.tar" | 20 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)\.src\.tar" |
21 | 21 | ||
22 | # not-applicable-platform: Issue only applies on Windows | ||
23 | CVE_CHECK_IGNORE += "CVE-2024-3566" | ||
24 | |||
22 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 25 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
23 | SSTATE_SCAN_CMD = "true" | 26 | SSTATE_SCAN_CMD = "true" |
24 | 27 | ||