[release-11.3.6] Go: Bump to 1.24.2 (#103528)

* Go: Bump to 1.24.2

It is not likely we are actually affected by the CVEs, but updating proactively is not a bad idea nonetheless.

Fixes: CVE-2025-22871
Fixes: https://github.com/grafana/grafana-operator-experience-squad/issues/1311

* CI: Update golangci-lint

(cherry picked from commit 1c4284a8b4)
This commit is contained in:
Mariell Hoversholm
2025-04-09 08:44:16 +02:00
committed by GitHub
parent 57fcc842c1
commit 27d1c63107
33 changed files with 263 additions and 141 deletions
+1 -1
View File
@@ -407,7 +407,7 @@ func validateLBACHeader(headervalue string) bool {
return false
}
match := pattern.FindSubmatch([]byte(strings.TrimSpace(headervalue)))
if match == nil || len(match) < 2 {
if len(match) < 2 {
return false
}
_, err = parser.ParseMetricSelector(string(match[1]))