go: fix and ignore several CVEs
PATCH 1/1 go: fix and ignore several CVEs
From: Chee Yang Lee <[email protected]>
backport fixes:
CVE-2021-27918
CVE-2021-36221
CVE-2021-39293
CVE-2021-41771
ignore:
CVE-2022-29526
CVE-2022-30634
Signed-off-by Chee Yang Lee <[email protected]>
--- meta/recipes-devtools/go/go-1.14.inc | 10 + .../go/go-1.14/CVE-2021-27918.patch | 191 ++++++++++++++++++ .../go/go-1.14/CVE-2021-36221.patch | 101 +++++++++ .../go/go-1.14/CVE-2021-39293.patch | 79 ++++++++ .../go/go-1.14/CVE-2021-41771.patch | 86 ++++++++ 5 files changed, 467 insertions(+) create mode 100644 meta/recipes-devtools/go/go-1.14/CVE-2021-27918.patch create mode 100644 meta/recipes-devtools/go/go-1.14/CVE-2021-36221.patch create mode 100644 meta/recipes-devtools/go/go-1.14/CVE-2021-39293.patch create mode 100644 meta/recipes-devtools/go/go-1.14/CVE-2021-41771.patch
meta/recipes-devtools/go/go-1.14.inc +10 -0
@@ -32,6 +32,10 @@ SRC_URI += "\ file://CVE-2022-30635.patch \ file://CVE-2022-32148.patch \ file://CVE-2022-32189.patch \ + file://CVE-2021-27918.patch \ + file://CVE-2021-36221.patch \ + file://CVE-2021-39293.patch \ + file://CVE-2021-41771.patch \ " SRC_URI_append_libc-musl = " file://0009-ld-replace-glibc-dynamic-linker-with-musl.patch"
@@ -42,3 +46,9 @@ SRC_URI[main.sha256sum] = "7ed13b2209e54a451835997f78035530b331c5b6943cdcd68a3d8 # https://github.com/golang/go/issues/30999#issuecomment-910470358 CVE_CHECK_WHITELIST += "CVE-2021-29923" +# this issue affected go1.15 onwards +# https://security-tracker.debian.org/tracker/CVE-2022-29526 +CVE_CHECK_WHITELIST += "CVE-2022-29526" + +# Issue only on windows +CVE_CHECK_WHITELIST += "CVE-2022-30634"
meta/recipes-devtools/go/go-1.14/CVE-2021-27918.patch new file +191 -0
191 lines not on this page · raw message
meta/recipes-devtools/go/go-1.14/CVE-2021-36221.patch new file +101 -0
101 lines not on this page · raw message
meta/recipes-devtools/go/go-1.14/CVE-2021-39293.patch new file +79 -0
79 lines not on this page · raw message
meta/recipes-devtools/go/go-1.14/CVE-2021-41771.patch new file +86 -0
86 lines not on this page · raw message
Signature · 1 line
2.36.1