From b5a5af7a0c399da561a22da9ed8cffa01981c433 Mon Sep 17 00:00:00 2001 From: Christophe Le Guern Date: Tue, 26 Nov 2024 16:37:53 +0100 Subject: [PATCH 1/2] fix: stdlib vulnerabilities CVE-2024-34158, CVE-2024-34156 and CVE-2024-34155 --- .github/workflows/lint_test.yml | 4 ++-- .github/workflows/publish_ghpages.yml | 2 +- .github/workflows/release.yml | 2 +- go.mod | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint_test.yml b/.github/workflows/lint_test.yml index 62ccdaa..e21e3e1 100644 --- a/.github/workflows/lint_test.yml +++ b/.github/workflows/lint_test.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23' - name: Run Unit tests run: make test - name: Upload logs @@ -57,7 +57,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23' - name: Run integration tests uses: nick-fields/retry@v2 with: diff --git a/.github/workflows/publish_ghpages.yml b/.github/workflows/publish_ghpages.yml index 173bc49..976a150 100644 --- a/.github/workflows/publish_ghpages.yml +++ b/.github/workflows/publish_ghpages.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23' - name: Build and generate docs run: make docs diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 34c39c9..97194f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.22' + go-version: '1.23' - name: setup-snapcraft # FIXME: the mkdirs are a hack for https://github.com/goreleaser/goreleaser/issues/1715 diff --git a/go.mod b/go.mod index 9808d92..869c076 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/deviceinsight/kafkactl/v5 -go 1.22.6 +go 1.23.3 require ( github.com/IBM/sarama v1.43.2 From e0bac2b2bff948a548e2dfb0d89863c2ef4d09c7 Mon Sep 17 00:00:00 2001 From: Dirk Wilden Date: Thu, 28 Nov 2024 07:43:55 +0100 Subject: [PATCH 2/2] update go version in aur also --- .github/aur/kafkactl/PKGBUILD.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/aur/kafkactl/PKGBUILD.template b/.github/aur/kafkactl/PKGBUILD.template index f7ff36e..4bc4c9a 100644 --- a/.github/aur/kafkactl/PKGBUILD.template +++ b/.github/aur/kafkactl/PKGBUILD.template @@ -8,7 +8,7 @@ url="https://github.com/deviceinsight/kafkactl/" arch=("i686" "x86_64" "aarch64") license=("APACHE") depends=("glibc") -makedepends=('go>=1.22') +makedepends=('go>=1.23') optdepends=('kubectl: for kafka running in Kubernetes cluster', 'bash-completion: auto-completion for kafkactl in Bash', 'zsh-completions: auto-completion for kafkactl in ZSH')