Skip to contentSkip to conversation

package/go: security bump to version 1.20.9

Buildroot Peter Korsgaard 2 participants 4 messages Oct 6, 2023 – Oct 8, 2023

lore
Share & tools
lore
#0 lore raw

Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build".

go1.20.9 (released 2023-10-05) includes one security fixes to the cmd/go package, as well as bug fixes to the go command and the linker.

---
 package/go/go.hash | 2 +-
 package/go/go.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/go/go.hash +1 -1
index 19405982ba..ac603e6e3b 100644
@@ -1,3 +1,3 @@
 # From https://go.dev/dl
-sha256  38d71714fa5279f97240451956d8e47e3c1b6a5de7cb84137949d62b5dd3182e  go1.20.8.src.tar.gz
+sha256  4923920381cd71d68b527761afefa523ea18c5831b4795034c827e18b685cdcf  go1.20.9.src.tar.gz
 sha256  2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067  LICENSE
package/go/go.mk +1 -1
index c1e9f2f8f6..d75c1afa9e 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-GO_VERSION = 1.20.8
+GO_VERSION = 1.20.9
 GO_SITE = https://storage.googleapis.com/golang
 GO_SOURCE = go$(GO_VERSION).src.tar.gz
 
Signature · 6 lines
2.30.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass the restrictions on "//go:cgo_" directives, allowing blocked linker and compiler flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build".

go1.20.9 (released 2023-10-05) includes one security fixes to the cmd/go package, as well as bug fixes to the go command and the linker.

Committed to 2023.08.x, thanks.

I'll also bump 2023.02.x to this as 1.19.x no longer is getting updates.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Hi Peter,

Quoted 9 lines · Peter Korsgaard
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

Fixes CVE-2023-39323: Line directives ("//line") can be used to bypass

the

Quoted 1 line

restrictions on "//go:cgo_" directives, allowing blocked linker and

compiler

Quoted 2 lines

flags to be passed during compilation. This can result in unexpected execution of arbitrary code when running "go build".

Quoted 9 lines
Quoted 4 lines

go1.20.9 (released 2023-10-05) includes one security fixes to the cmd/go package, as well as bug fixes to the go command and the linker.

Committed to 2023.08.x, thanks.

I'll also bump 2023.02.x to this as 1.19.x no longer is getting updates.

Please also note that the bump from 1.19 to 1.20 requires the additional bootstrap packages.

Best,
Christian Stewart

Quoted 1 line

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Christian" == Christian Stewart <[email protected]> writes:

Hello,

Quoted 5 lines
Quoted 2 lines

I'll also bump 2023.02.x to this as 1.19.x no longer is getting updates.

Please also note that the bump from 1.19 to 1.20 requires the additional bootstrap packages.

Thanks, but yes - Indeed. A bit unfortunate, but that's just how it is.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot