Backport of NET-10288-Bump-go-to-resolve-CVE-2024-24791 into release/1.19.x (#21513)

* backport of commit 764532e82c

* backport of commit 61ee7f8d52

* backport of commit d7da6ce5fe

---------

Co-authored-by: Sarah Alsmiller <sarah.alsmiller@hashicorp.com>
Co-authored-by: sarahalsmiller <100602640+sarahalsmiller@users.noreply.github.com>
pull/21515/head
hc-github-team-consul-core 2024-07-03 11:07:01 -07:00 committed by GitHub
parent 1e3ea57e0a
commit 32938b1abc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

3
.changelog/21507.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:security
Upgrade go version to 1.22.5 to address [CVE-2024-24791](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-24791)
```

View File

@ -1 +1 @@
1.22.4
1.22.5

2
go.mod
View File

@ -2,7 +2,7 @@ module github.com/hashicorp/consul
go 1.20
toolchain go1.22.4
toolchain go1.22.5
replace (
github.com/hashicorp/consul/api => ./api