From a7e391101a8e297a867f05a26852f36f8ad37f14 Mon Sep 17 00:00:00 2001 From: Bradley Jones Date: Thu, 4 Jul 2024 14:22:40 +0100 Subject: [PATCH] feat: bump go to 1.22.5 addresses CVE-2024-24790 Signed-off-by: Bradley Jones --- go.mod | 2 +- scripts/install-go.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 8c21e6f..21a27a5 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/anchore/k8s-inventory -go 1.22.2 +go 1.22.5 require ( github.com/adrg/xdg v0.4.0 diff --git a/scripts/install-go.sh b/scripts/install-go.sh index 5b47c15..adc939b 100755 --- a/scripts/install-go.sh +++ b/scripts/install-go.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -GO_VERSION="1.22.2" +GO_VERSION="1.22.5" ARCH=$(uname | tr '[:upper:]' '[:lower:]') GO_ARTIFACT="go$GO_VERSION.$ARCH-amd64.tar.gz" wget "https://dl.google.com/go/$GO_ARTIFACT"