Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

austinvazquez
Copy link
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)

vvoland and 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 ([email protected]) 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 <[email protected]>
(cherry picked from commit 3bf39d2)
Signed-off-by: Austin Vazquez <[email protected]>
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 <[email protected]>
(cherry picked from commit e1213ed)
Signed-off-by: Austin Vazquez <[email protected]>
Signed-off-by: Austin Vazquez <[email protected]>
(cherry picked from commit a6ab659)
Signed-off-by: Austin Vazquez <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Oct 8, 2024

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           

Copy link
Member

@thaJeztah thaJeztah left a comment

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.0 Oct 8, 2024
101 checks passed
Sign up for free to 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