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

update to go1.21.11 #5117

Merged
merged 1 commit into from
Jun 4, 2024
Merged

update to go1.21.11 #5117

merged 1 commit into from
Jun 4, 2024

Conversation

thaJeztah
Copy link
Member

go1.21.11 (released 2024-06-04) includes security fixes to the archive/zip and net/netip packages, as well as bug fixes to the compiler, the go command, the runtime, and the os package. See the Go 1.21.11 milestone on our issue tracker for details;

From the security announcement;

We have just released Go versions 1.22.4 and 1.21.11, minor point releases. These minor releases include 2 security fixes following the security policy:

  • archive/zip: mishandling of corrupt central directory record

    The archive/zip package's handling of certain types of invalid zip files
    differed from the behavior of most zip implementations. This misalignment
    could be exploited to create an zip file with contents that vary depending
    on the implementation reading the file. The archive/zip package now rejects
    files containing these errors.

    Thanks to Yufan You for reporting this issue.

    This is CVE-2024-24789 and Go issue https://go.dev/issue/66869.

  • net/netip: unexpected behavior from Is methods for IPv4-mapped IPv6 addresses

    The various Is methods (IsPrivate, IsLoopback, etc) did not work as expected
    for IPv4-mapped IPv6 addresses, returning false for addresses which would
    return true in their traditional IPv4 forms.

    Thanks to Enze Wang of Alioth and Jianjun Chen of Zhongguancun Lab
    for reporting this issue.

    This is CVE-2024-24790 and Go issue https://go.dev/issue/67680.

- What I did

- How I did it

- How to verify it

- Description for the changelog

update go runtime to go1.21.11, which includes fixes for CVE-2024-24789, CVE-2024-24790

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

go1.21.11 (released 2024-06-04) includes security fixes to the archive/zip
and net/netip packages, as well as bug fixes to the compiler, the go command,
the runtime, and the os package. See the Go 1.21.11 milestone on our issue
tracker for details;

- https://github.com/golang/go/issues?q=milestone%3AGo1.21.11+label%3ACherryPickApproved
- full diff: golang/go@go1.21.10...go1.21.11

From the security announcement;

We have just released Go versions 1.22.4 and 1.21.11, minor point releases.
These minor releases include 2 security fixes following the security policy:

- archive/zip: mishandling of corrupt central directory record

  The archive/zip package's handling of certain types of invalid zip files
  differed from the behavior of most zip implementations. This misalignment
  could be exploited to create an zip file with contents that vary depending
  on the implementation reading the file. The archive/zip package now rejects
  files containing these errors.

  Thanks to Yufan You for reporting this issue.

  This is CVE-2024-24789 and Go issue https://go.dev/issue/66869.

- net/netip: unexpected behavior from Is methods for IPv4-mapped IPv6 addresses

  The various Is methods (IsPrivate, IsLoopback, etc) did not work as expected
  for IPv4-mapped IPv6 addresses, returning false for addresses which would
  return true in their traditional IPv4 forms.

  Thanks to Enze Wang of Alioth and Jianjun Chen of Zhongguancun Lab
  for reporting this issue.

  This is CVE-2024-24790 and Go issue https://go.dev/issue/67680.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@codecov-commenter
Copy link

codecov-commenter commented Jun 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.37%. Comparing base (f82007d) to head (630e1d3).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5117   +/-   ##
=======================================
  Coverage   61.37%   61.37%           
=======================================
  Files         298      298           
  Lines       20717    20717           
=======================================
  Hits        12715    12715           
  Misses       7102     7102           
  Partials      900      900           

@thaJeztah thaJeztah merged commit d5dd249 into docker:master Jun 4, 2024
117 checks passed
@thaJeztah thaJeztah deleted the bump_go1.21.11 branch June 4, 2024 22:11
@thaJeztah thaJeztah self-assigned this Jun 4, 2024
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.

3 participants