Skip to content

[26.0 backport] update to go1.21.9#47671

Merged
thaJeztah merged 1 commit intomoby:26.0from
vvoland:v26.0-47670
Apr 4, 2024
Merged

[26.0 backport] update to go1.21.9#47671
thaJeztah merged 1 commit intomoby:26.0from
vvoland:v26.0-47670

Conversation

@vvoland
Copy link
Contributor

@vvoland vvoland commented Apr 3, 2024

go1.21.9 (released 2024-04-03) includes a security fix to the net/http
package, as well as bug fixes to the linker, and the go/types and
net/http packages. See the Go 1.21.9 milestone
for more details.

These minor releases include 1 security fixes following the security policy:

View the release notes for more information:
https://go.dev/doc/devel/release#go1.21.9

Signed-off-by: Paweł Gronowski [email protected]

Update Go runtime to 1.21.9

@vvoland vvoland added this to the 26.0.1 milestone Apr 3, 2024
@vvoland vvoland self-assigned this Apr 3, 2024
@vvoland vvoland requested a review from tianon as a code owner April 3, 2024 17:31
go1.21.9 (released 2024-04-03) includes a security fix to the net/http
package, as well as bug fixes to the linker, and the go/types and
net/http packages. See the [Go 1.21.9 milestone](https://github.com/golang/go/issues?q=milestone%3AGo1.21.9+label%3ACherryPickApproved)
for more details.

These minor releases include 1 security fixes following the security policy:

- http2: close connections when receiving too many headers

Maintaining HPACK state requires that we parse and process all HEADERS
and CONTINUATION frames on a connection. When a request's headers exceed
MaxHeaderBytes, we don't allocate memory to store the excess headers but
we do parse them. This permits an attacker to cause an HTTP/2 endpoint
to read arbitrary amounts of header data, all associated with a request
which is going to be rejected. These headers can include Huffman-encoded
data which is significantly more expensive for the receiver to decode
than for an attacker to send.

Set a limit on the amount of excess header frames we will process before
closing a connection.

Thanks to Bartek Nowotarski (https://nowotarski.info/) for reporting this issue.

This is CVE-2023-45288 and Go issue https://go.dev/issue/65051.

View the release notes for more information:
https://go.dev/doc/devel/release#go1.22.2

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

Signed-off-by: Paweł Gronowski <[email protected]>
(cherry picked from commit 329d403)
Signed-off-by: Paweł Gronowski <[email protected]>
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

@thaJeztah thaJeztah merged commit f3842ab into moby:26.0 Apr 4, 2024
renovate bot added a commit to earthly/dind that referenced this pull request Apr 15, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [docker/docker](https://togithub.com/docker/docker) | patch | `26.0.0`
-> `26.0.1` |

---

### Release Notes

<details>
<summary>docker/docker (docker/docker)</summary>

### [`v26.0.1`](https://togithub.com/moby/moby/releases/tag/v26.0.1)

[Compare
Source](https://togithub.com/docker/docker/compare/v26.0.0-rc2...v26.0.1)

#### 26.0.1

For a full list of pull requests and changes in this release, refer to
the relevant GitHub milestones:

- [docker/cli, 26.0.1
milestone](https://togithub.com/docker/cli/issues?q=is%3Aclosed+milestone%3A26.0.1)
- [moby/moby, 26.0.1
milestone](https://togithub.com/moby/moby/issues?q=is%3Aclosed+milestone%3A26.0.1)
- Deprecated and removed features, see [Deprecated
Features](https://togithub.com/docker/cli/blob/v26.0.1/docs/deprecated.md).
- Changes to the Engine API, see [API version
history](https://togithub.com/moby/moby/blob/v26.0.1/docs/api/version-history.md).

##### Bug fixes and enhancements

- Fix a regression that meant network interface specific `--sysctl`
options prevented container startup.
[moby/moby#47646](https://togithub.com/moby/moby/pull/47646)
- Remove erroneous `platform` from image `config` OCI descriptor in
`docker save` output.
[moby/moby#47694](https://togithub.com/moby/moby/pull/47694)
- containerd image store: OCI archives produced by `docker save` will
now have a non-empty `mediaType` field in `index.json`
[moby/moby#47701](https://togithub.com/moby/moby/pull/47701)
- Fix a regression that prevented the internal resolver from forwarding
requests from IPvlan L3 networks to external resolvers.
[moby/moby#47705](https://togithub.com/moby/moby/pull/47705)
- Prevent the use of external resolvers in IPvlan and Macvlan networks
created with no parent interface specified.
[moby/moby#47705](https://togithub.com/moby/moby/pull/47705)

##### Packaging updates

- Update Go runtime to 1.21.9
[moby/moby#47671](https://togithub.com/moby/moby/pull/47671),
[docker/cli#4987](https://togithub.com/docker/cli/pull/4987)
- Update Compose to [v1.26.1
](https://togithub.com/docker/compose/releases/tag/v2.26.1),
[docker/docker-ce-packaging#1009](https://togithub.com/docker/docker-ce-packaging/pull/1009)
- Update containerd to
[v1.7.15](https://togithub.com/containerd/containerd/releases/tag/v1.7.15)
(static binaries only)
[moby/moby#47692](https://togithub.com/moby/moby/pull/47692)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 6am on monday" (UTC), Automerge
- At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/earthly/dind).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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.

2 participants