go: fix CVE-2022-41724, 41725
PATCH 1/1 go: fix CVE-2022-41724, 41725
Backport from go-1.19. The godebug package is needed by the fix to CVE-2022-41725.
Mostly a cherry-pick but exceptions are noted in comments marked "backport".
Signed-off-by Joe Slater <[email protected]>
--- meta/recipes-devtools/go/go-1.17.13.inc | 5 +- .../go/go-1.19/add_godebug.patch | 84 + .../go/go-1.19/cve-2022-41724.patch | 2391 +++++++++++++++++ .../go/go-1.19/cve-2022-41725.patch | 652 +++++ 4 files changed, 3131 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/go/go-1.19/add_godebug.patch create mode 100644 meta/recipes-devtools/go/go-1.19/cve-2022-41724.patch create mode 100644 meta/recipes-devtools/go/go-1.19/cve-2022-41725.patch
meta/recipes-devtools/go/go-1.17.13.inc +4 -1
@@ -1,6 +1,6 @@ require go-common.inc -FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/go-1.18:" +FILESEXTRAPATHS:prepend := "${FILE_DIRNAME}/go-1.19:${FILE_DIRNAME}/go-1.18:" LIC_FILES_CHKSUM = "file://LICENSE;md5=5d4950ecb7b26d2c5e4e7b4e0dd74707"
@@ -23,6 +23,9 @@ SRC_URI += "\ file://CVE-2022-2879.patch \ file://CVE-2022-41720.patch \ file://CVE-2022-41723.patch \ + file://cve-2022-41724.patch \ + file://add_godebug.patch \ + file://cve-2022-41725.patch \ " SRC_URI[main.sha256sum] = "a1a48b23afb206f95e7bbaa9b898d965f90826f6f1d1fc0c1d784ada0cd300fd"
meta/recipes-devtools/go/go-1.19/add_godebug.patch new file +84 -0
84 lines not on this page · raw message
meta/recipes-devtools/go/go-1.19/cve-2022-41724.patch new file +2391 -0
2,391 lines not on this page · raw message
meta/recipes-devtools/go/go-1.19/cve-2022-41725.patch new file +652 -0
509 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.25.1
Part of the diff is not shown here. View the raw message.