Skip to contentSkip to conversation

go: backport patch fix for CVE-2021-38297

PATCH New Davide Gardenal 1 participant 1 message Mar 31, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 go: backport patch fix for CVE-2021-38297

Patch taken from
https://github.com/golang/go/commit/4548fcc8dfd933c237f29bba6f90040a85922564
from the following issue
https://github.com/golang/go/issues/48797

Original repo
https://go.googlesource.com/go/+/77f2750f4398990eed972186706f160631d7dae4

---
V2 Update:
Update go-1.14.inc to the latest revision
Inline isWasm method to solve compile error
Thanks to Steve Sakoman for the feedback

---
 meta/recipes-devtools/go/go-1.14.inc          |  4 +
 .../go/go-1.14/CVE-2021-38297.patch           | 97 +++++++++++++++++++
 2 files changed, 101 insertions(+)
 create mode 100644 meta/recipes-devtools/go/go-1.14/CVE-2021-38297.patch
meta/recipes-devtools/go/go-1.14.inc +4 -0
index 9b3c3b30a8..f98757d10d 100644
@@ -19,9 +19,13 @@ SRC_URI += "\
     file://CVE-2021-34558.patch \
     file://CVE-2021-33196.patch \
     file://CVE-2021-33197.patch \
+    file://CVE-2021-38297.patch \
     file://CVE-2022-23806.patch \
     file://CVE-2022-23772.patch \
 "
+
+# file://CVE-2021-38297.patch
+
 SRC_URI_append_libc-musl = " file://0009-ld-replace-glibc-dynamic-linker-with-musl.patch"
 SRC_URI[main.sha256sum] = "7ed13b2209e54a451835997f78035530b331c5b6943cdcd68a3d815fdc009149"
 
meta/recipes-devtools/go/go-1.14/CVE-2021-38297.patch new file +97 -0

98 lines not on this page · raw message

Signature · 1 line
2.32.0