Skip to content

Commit 3c06911

Browse files
committed
update to go1.23.5 (fix CVE-2024-45341, CVE-2024-45336)
go1.23.5 (released 2025-01-16) includes security fixes to the crypto/x509 and net/http packages, as well as bug fixes to the compiler, the runtime, and the net package. See the Go 1.23.5 milestone on our issue tracker for details; - https://github.com/golang/go/issues?q=milestone%3AGo1.23.5+label%3ACherryPickApproved - full diff: golang/go@go1.23.4...go1.23.5 Hello gophers, We have just released Go versions 1.23.5 and 1.22.11, minor point releases. These minor releases include 2 security fixes following the security policy: - crypto/x509: usage of IPv6 zone IDs can bypass URI name constraints A certificate with a URI which has a IPv6 address with a zone ID may incorrectly satisfy a URI name constraint that applies to the certificate chain. Certificates containing URIs are not permitted in the web PKI, so this only affects users of private PKIs which make use of URIs. Thanks to Juho Forsén of Mattermost for reporting this issue. This is CVE-2024-45341 and Go issue https://go.dev/issue/71156. - net/http: sensitive headers incorrectly sent after cross-domain redirect The HTTP client drops sensitive headers after following a cross-domain redirect. For example, a request to a.com/ containing an Authorization header which is redirected to b.com/ will not send that header to b.com. In the event that the client received a subsequent same-domain redirect, however, the sensitive headers would be restored. For example, a chain of redirects from a.com/, to b.com/1, and finally to b.com/2 would incorrectly send the Authorization header to b.com/2. Thanks to Kyle Seely for reporting this issue. This is CVE-2024-45336 and Go issue https://go.dev/issue/70530. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 66a584a commit 3c06911

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
name: Update Go
6363
uses: actions/setup-go@v5
6464
with:
65-
go-version: "1.23.4"
65+
go-version: "1.23.5"
6666
-
6767
name: Initialize CodeQL
6868
uses: github/codeql-action/init@v3

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
name: Set up Go
6666
uses: actions/setup-go@v5
6767
with:
68-
go-version: "1.23.4"
68+
go-version: "1.23.5"
6969
-
7070
name: Test
7171
run: |

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ linters:
4343
run:
4444
# prevent golangci-lint from deducting the go version to lint for through go.mod,
4545
# which causes it to fallback to go1.17 semantics.
46-
go: "1.23.4"
46+
go: "1.23.5"
4747
timeout: 5m
4848

4949
linters-settings:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ARG BASE_VARIANT=alpine
44
ARG ALPINE_VERSION=3.20
55
ARG BASE_DEBIAN_DISTRO=bookworm
66

7-
ARG GO_VERSION=1.23.4
7+
ARG GO_VERSION=1.23.5
88
ARG XX_VERSION=1.6.1
99
ARG GOVERSIONINFO_VERSION=v1.4.1
1010
ARG GOTESTSUM_VERSION=v1.10.0

docker-bake.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
variable "GO_VERSION" {
2-
default = "1.23.4"
2+
default = "1.23.5"
33
}
44
variable "VERSION" {
55
default = ""

dockerfiles/Dockerfile.dev

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

3-
ARG GO_VERSION=1.23.4
3+
ARG GO_VERSION=1.23.5
44
ARG ALPINE_VERSION=3.20
55

66
ARG BUILDX_VERSION=0.17.1

dockerfiles/Dockerfile.lint

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

3-
ARG GO_VERSION=1.23.4
3+
ARG GO_VERSION=1.23.5
44
ARG ALPINE_VERSION=3.20
55
ARG GOLANGCI_LINT_VERSION=v1.62.2
66

dockerfiles/Dockerfile.vendor

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

3-
ARG GO_VERSION=1.23.4
3+
ARG GO_VERSION=1.23.5
44
ARG ALPINE_VERSION=3.20
55
ARG MODOUTDATED_VERSION=v0.8.0
66

e2e/testdata/Dockerfile.gencerts

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

3-
ARG GO_VERSION=1.23.4
3+
ARG GO_VERSION=1.23.5
44

55
FROM golang:${GO_VERSION}-alpine AS generated
66
ENV GOTOOLCHAIN=local

0 commit comments

Comments
 (0)