Skip to content

Commit 76a1021

Browse files
alderneroaknuds1
andauthored
Bugfix release to fix CVE-2023-24538 (#4795)
* Bugfix release to fix CVE-2023-24538 * Update CHANGELOG.md * Update v2.7.md * make build-jsonnet-tests --------- Co-authored-by: Arve Knudsen <[email protected]>
1 parent 053cab4 commit 76a1021

File tree

49 files changed

+385
-378
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+385
-378
lines changed

.github/workflows/compare-helm-with-jsonnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-go@v3
1818
with:
19-
go-version: '1.20.1'
19+
go-version: '1.20.3'
2020
- uses: helm/[email protected]
2121
- name: Download yq
2222
uses: dsaltares/fetch-gh-release-asset@d9376dacd30fd38f49238586cd2e9295a8307f4c

.github/workflows/helm-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
conftest:
1919
runs-on: ubuntu-latest
2020
container:
21-
image: grafana/mimir-build-image:goupdate-751733fe1
21+
image: grafana/mimir-build-image:chore-upgrade-go-1203-5c4c29f01
2222
steps:
2323
- name: Check out repository
2424
uses: actions/checkout@v3

.github/workflows/test-build-deploy.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
lint:
2121
runs-on: ubuntu-latest
2222
container:
23-
image: grafana/mimir-build-image:goupdate-751733fe1
23+
image: grafana/mimir-build-image:chore-upgrade-go-1203-5c4c29f01
2424
steps:
2525
- name: Check out repository
2626
uses: actions/checkout@v3
@@ -64,7 +64,7 @@ jobs:
6464
lint-jsonnet:
6565
runs-on: ubuntu-latest
6666
container:
67-
image: grafana/mimir-build-image:goupdate-72d66708c
67+
image: grafana/mimir-build-image:chore-upgrade-go-1203-5c4c29f01
6868
steps:
6969
- name: Check out repository
7070
uses: actions/checkout@v3
@@ -90,7 +90,7 @@ jobs:
9090
lint-helm:
9191
runs-on: ubuntu-latest
9292
container:
93-
image: grafana/mimir-build-image:goupdate-751733fe1
93+
image: grafana/mimir-build-image:chore-upgrade-go-1203-5c4c29f01
9494
steps:
9595
- name: Check out repository
9696
uses: actions/checkout@v3
@@ -119,7 +119,7 @@ jobs:
119119
test_group_id: [0, 1, 2, 3]
120120
test_group_total: [4]
121121
container:
122-
image: grafana/mimir-build-image:goupdate-751733fe1
122+
image: grafana/mimir-build-image:chore-upgrade-go-1203-5c4c29f01
123123
steps:
124124
- name: Check out repository
125125
uses: actions/checkout@v3
@@ -154,7 +154,7 @@ jobs:
154154
build:
155155
runs-on: ubuntu-latest
156156
container:
157-
image: grafana/mimir-build-image:goupdate-751733fe1
157+
image: grafana/mimir-build-image:chore-upgrade-go-1203-5c4c29f01
158158
steps:
159159
- name: Check out repository
160160
uses: actions/checkout@v3
@@ -198,7 +198,7 @@ jobs:
198198
- name: Upgrade golang
199199
uses: actions/setup-go@v3
200200
with:
201-
go-version: 1.20.1
201+
go-version: 1.20.3
202202
- name: Check out repository
203203
uses: actions/checkout@v3
204204
- name: Run Git Config
@@ -244,7 +244,7 @@ jobs:
244244
if: (startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/r') ) && github.event_name == 'push' && github.repository == 'grafana/mimir'
245245
runs-on: ubuntu-latest
246246
container:
247-
image: grafana/mimir-build-image:goupdate-751733fe1
247+
image: grafana/mimir-build-image:chore-upgrade-go-1203-5c4c29f01
248248
steps:
249249
- name: Check out repository
250250
uses: actions/checkout@v3

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## 2.7.2
4+
5+
### Grafana Mimir
6+
7+
* [BUGFIX] Security: updated Go version to 1.20.3 to fix CVE-2023-24538 #4795
8+
39
## 2.7.1
410

511
**Note**: During the release process, version 2.7.0 was tagged too early, before completing the release checklist and production testing. Release 2.7.1 doesn't include any code changes since 2.7.0, but now has proper release notes, published documentation, and has been fully tested in our production environment.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ mimir-build-image/$(UPTODATE): mimir-build-image/*
178178
# All the boiler plate for building golang follows:
179179
SUDO := $(shell docker info >/dev/null 2>&1 || echo "sudo -E")
180180
BUILD_IN_CONTAINER ?= true
181-
LATEST_BUILD_IMAGE_TAG ?= goupdate-751733fe1
181+
LATEST_BUILD_IMAGE_TAG ?= chore-upgrade-go-1203-5c4c29f01
182182

183183
# TTY is parameterized to allow Google Cloud Builder to run builds,
184184
# as it currently disallows TTY devices. This value needs to be overridden

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.1
1+
2.7.2

development/mimir-microservices-mode/dev.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.20.1
1+
FROM golang:1.20.3
22
ENV CGO_ENABLED=0
33
RUN go install github.com/go-delve/delve/cmd/[email protected]
44

development/mimir-read-write-mode/dev.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.20.1
1+
FROM golang:1.20.3
22
ENV CGO_ENABLED=0
33
RUN go install github.com/go-delve/delve/cmd/[email protected]
44

docs/sources/mimir/release-notes/v2.7.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,4 @@ In Grafana Mimir 2.7, the following options, metrics, and labels have been remov
7979
- Ingester: conversion of global limits max-series-per-user, max-series-per-metric, max-metadata-per-user and max-metadata-per-metric into corresponding local limits now takes into account the number of ingesters in each zone. [PR 4238](https://github.com/grafana/mimir/pull/4238)
8080
- Ingester: track cortex_ingester_memory_series metric consistently with cortex_ingester_memory_series_created_total and cortex_ingester_memory_series_removed_total. [PR 4312](https://github.com/grafana/mimir/pull/4312)
8181
- Querier: fixed a bug which was incorrectly matching series with regular expression label matchers with begin/end anchors in the middle of the regular expression. [PR 4340](https://github.com/grafana/mimir/pull/4340)
82+
- Security: updated the Go version to 1.20.3 to fix CVE-2023-24538. [PR 4795](https://github.com/grafana/mimir/pull/4795)

mimir-build-image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
FROM k8s.gcr.io/kustomize/kustomize:v4.5.5 as kustomize
77
FROM alpine/helm:3.11.1 as helm
8-
FROM golang:1.20.1-bullseye
8+
FROM golang:1.20.3-bullseye
99
ARG goproxyValue
1010
ENV GOPROXY=${goproxyValue}
1111
ENV SKOPEO_DEPS="libgpgme-dev libassuan-dev libbtrfs-dev libdevmapper-dev pkg-config"

0 commit comments

Comments
 (0)