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

[26.1 backport] ci: update to go1.22.8 #5513

Open
wants to merge 3 commits into
base: 26.1
Choose a base branch
from

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:05
- 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.99%. Comparing base (3c827ab) to head (1b1d411).
Report is 2 commits behind head on 26.1.

Additional details and impacted files
@@           Coverage Diff           @@
##             26.1    #5513   +/-   ##
=======================================
  Coverage   59.99%   59.99%           
=======================================
  Files         338      338           
  Lines       22730    22730           
=======================================
  Hits        13637    13637           
  Misses       8155     8155           
  Partials      938      938           

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.

5 participants