Skip to content

Commit c769f20

Browse files
committed
[23.0] update go to go1.19.9
go1.19.9 (released 2023-05-02) includes three security fixes to the html/template package, as well as bug fixes to the compiler, the runtime, and the crypto/tls and syscall packages. See the Go 1.19.9 milestone on our issue tracker for details. https://github.com/golang/go/issues?q=milestone%3AGo1.19.9+label%3ACherryPickApproved release notes: https://go.dev/doc/devel/release#go1.19.9 full diff: golang/go@go1.19.8...go1.19.9 from the announcement: > These minor releases include 3 security fixes following the security policy: > >- html/template: improper sanitization of CSS values > > Angle brackets (`<>`) were not considered dangerous characters when inserted > into CSS contexts. Templates containing multiple actions separated by a '/' > character could result in unexpectedly closing the CSS context and allowing > for injection of unexpected HMTL, if executed with untrusted input. > > Thanks to Juho Nurminen of Mattermost for reporting this issue. > > This is CVE-2023-24539 and Go issue https://go.dev/issue/59720. > > - html/template: improper handling of JavaScript whitespace > > Not all valid JavaScript whitespace characters were considered to be > whitespace. Templates containing whitespace characters outside of the character > set "\t\n\f\r\u0020\u2028\u2029" in JavaScript contexts that also contain > actions may not be properly sanitized during execution. > > Thanks to Juho Nurminen of Mattermost for reporting this issue. > > This is CVE-2023-24540 and Go issue https://go.dev/issue/59721. > > - html/template: improper handling of empty HTML attributes > > Templates containing actions in unquoted HTML attributes (e.g. "attr={{.}}") > executed with empty input could result in output that would have unexpected > results when parsed due to HTML normalization rules. This may allow injection > of arbitrary attributes into tags. > > Thanks to Juho Nurminen of Mattermost for reporting this issue. > > This is CVE-2023-29400 and Go issue https://go.dev/issue/59722. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent fcab2d0 commit c769f20

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
name: Set up Go
6464
uses: actions/setup-go@v3
6565
with:
66-
go-version: 1.19.8
66+
go-version: 1.19.9
6767
-
6868
name: Test
6969
run: |

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax=docker/dockerfile:1
22

33
ARG BASE_VARIANT=alpine
4-
ARG GO_VERSION=1.19.8
4+
ARG GO_VERSION=1.19.9
55
ARG ALPINE_VERSION=3.16
66
ARG XX_VERSION=1.1.1
77
ARG GOVERSIONINFO_VERSION=v1.3.0

docker-bake.hcl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
variable "GO_VERSION" {
2-
default = "1.19.8"
2+
default = "1.19.9"
33
}
44
variable "VERSION" {
55
default = ""

dockerfiles/Dockerfile.dev

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
ARG GO_VERSION=1.19.8
3+
ARG GO_VERSION=1.19.9
44
ARG ALPINE_VERSION=3.16
55

66
ARG BUILDX_VERSION=0.10.4

dockerfiles/Dockerfile.lint

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
ARG GO_VERSION=1.19.8
3+
ARG GO_VERSION=1.19.9
44
ARG ALPINE_VERSION=3.16
55
ARG GOLANGCI_LINT_VERSION=v1.49.0
66

dockerfiles/Dockerfile.vendor

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
ARG GO_VERSION=1.19.8
3+
ARG GO_VERSION=1.19.9
44
ARG ALPINE_VERSION=3.16
55
ARG MODOUTDATED_VERSION=v0.8.0
66

e2e/testdata/Dockerfile.gencerts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
ARG GO_VERSION=1.19.8
3+
ARG GO_VERSION=1.19.9
44

55
FROM golang:${GO_VERSION}-alpine AS generated
66
RUN go install github.com/dmcgowan/quicktls@master

0 commit comments

Comments
 (0)