Skip to content

[25.0 backport] ci: update to go1.22.8 - #5514

Merged
thaJeztah merged 3 commits into
docker:25.0from
austinvazquez:cherry-pick-a6ab65948e6ecaf4167e2ef91b24c30929296256-to-25.0
Oct 8, 2024
Merged

[25.0 backport] ci: update to go1.22.8#5514
thaJeztah merged 3 commits into
docker:25.0from
austinvazquez:cherry-pick-a6ab65948e6ecaf4167e2ef91b24c30929296256-to-25.0

Conversation

@austinvazquez

Copy link
Copy Markdown
Contributor

- What I did

- How I did it

git cherry-pick -xsS 3bf39d25a0903c1f7ee952453ff89f399101caa2
git cherry-pick -xsS e1213edcc62e6fa5a1aab83b5fa1ae351dabf127
git cherry-pick -xsS a6ab65948e6ecaf4167e2ef91b24c30929296256

- How to verify it
n/a

- Description for the changelog

Update Go runtime to 1.22.8

- A picture of a cute animal (not mandatory but encouraged)

vvolandand others added 3 commits October 8, 2024 04:13
- https://github.com/golang/go/issues?q=milestone%3AGo1.22.7+label%3ACherryPickApproved
- full diff: golang/go@go1.22.6...go1.22.7
These minor releases include 3 security fixes following the security policy:
- go/parser: stack exhaustion in all Parse* functions
Calling any of the Parse functions on Go source code which contains deeply nested literals can cause a panic due to stack exhaustion.
This is CVE-2024-34155 and Go issue https://go.dev/issue/69138.
- encoding/gob: stack exhaustion in Decoder.Decode
Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion.
This is a follow-up to CVE-2022-30635.
Thanks to Md Sakib Anwar of The Ohio State University (anwar.40@osu.edu) for reporting this issue.
This is CVE-2024-34156 and Go issue https://go.dev/issue/69139.
- go/build/constraint: stack exhaustion in Parse
Calling Parse on a "// +build" build tag line with deeply nested expressions can cause a panic due to stack exhaustion.
This is CVE-2024-34158 and Go issue https://go.dev/issue/69141.
View the release notes for more information:
https://go.dev/doc/devel/release#go1.23.1
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit 3bf39d2)
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
commit d7d5659 updated this
repository to go1.22, but the codeql action didn't specify a
patch version, and was missed.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit e1213ed)
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
(cherry picked from commit a6ab659)
Signed-off-by: Austin Vazquez <macedonv@amazon.com>
@codecov-commenter

codecov-commenter commented Oct 8, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.85%. Comparing base (b26009a) to head (718cd79).
Report is 5 commits behind head on 25.0.

Additional details and impacted files
@@ Coverage Diff @@## 25.0 #5514 +/- ##
=======================================
Coverage 59.85% 59.85% =======================================
Files 329 329 Lines 22066 22066 =======================================
Hits 13208 13208 Misses 7933 7933 Partials 925 925 

@thaJeztahthaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@thaJeztah
thaJeztah merged commit 45475c3 into docker:25.0Oct 8, 2024
@austinvazquez
austinvazquez deleted the cherry-pick-a6ab65948e6ecaf4167e2ef91b24c30929296256-to-25.0 branch October 8, 2024 12:11
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@austinvazquez@codecov-commenter@thaJeztah@vvoland