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 module google.golang.org/grpc to v1.57.1 [SECURITY] - autoclosed #364

Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 26, 2023

Mend Renovate logo banner

This PR contains the following updates:

Package Type Update Change
google.golang.org/grpc require patch v1.57.0 -> v1.57.1

GitHub Vulnerability Alerts

GHSA-m425-mq94-257g

Impact

In affected releases of gRPC-Go, it is possible for an attacker to send HTTP/2 requests, cancel them, and send subsequent requests, which is valid by the HTTP/2 protocol, but would cause the gRPC-Go server to launch more concurrent method handlers than the configured maximum stream limit.

Patches

This vulnerability was addressed by #​6703 and has been included in patch releases: 1.56.3, 1.57.1, 1.58.3. It is also included in the latest release, 1.59.0.

Along with applying the patch, users should also ensure they are using the grpc.MaxConcurrentStreams server option to apply a limit to the server's resources used for any single connection.

Workarounds

None.

References

#​6703

CVE-2023-44487

swift-nio-http2 is vulnerable to a denial-of-service vulnerability in which a malicious client can create and then reset a large number of HTTP/2 streams in a short period of time. This causes swift-nio-http2 to commit to a large amount of expensive work which it then throws away, including creating entirely new Channels to serve the traffic. This can easily overwhelm an EventLoop and prevent it from making forward progress.

swift-nio-http2 1.28 contains a remediation for this issue that applies reset counter using a sliding window. This constrains the number of stream resets that may occur in a given window of time. Clients violating this limit will have their connections torn down. This allows clients to continue to cancel streams for legitimate reasons, while constraining malicious actors.


Release Notes

grpc/grpc-go (google.golang.org/grpc)

v1.57.1: Release 1.57.1

Compare Source

Security

  • server: prohibit more than MaxConcurrentStreams handlers from running at once (CVE-2023-44487)

    In addition to this change, applications should ensure they do not leave running tasks behind related to the RPC before returning from method handlers, or should enforce appropriate limits on any such work.


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@renovate renovate bot force-pushed the renovate/go-google.golang.org/grpc-vulnerability branch 7 times, most recently from 1131773 to 6b7132c Compare October 31, 2023 13:55
@renovate renovate bot force-pushed the renovate/go-google.golang.org/grpc-vulnerability branch 3 times, most recently from c240271 to 2139b9c Compare November 10, 2023 15:18
@renovate renovate bot force-pushed the renovate/go-google.golang.org/grpc-vulnerability branch from 2139b9c to c77db58 Compare November 16, 2023 12:28
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.56.3 [SECURITY] Update module google.golang.org/grpc to v1.57.1 [SECURITY] Nov 17, 2023
@renovate renovate bot force-pushed the renovate/go-google.golang.org/grpc-vulnerability branch from c77db58 to 13df45a Compare November 17, 2023 10:46
@renovate renovate bot force-pushed the renovate/go-google.golang.org/grpc-vulnerability branch from 13df45a to 734e891 Compare November 28, 2023 10:00
@renovate renovate bot changed the title Update module google.golang.org/grpc to v1.57.1 [SECURITY] Update module google.golang.org/grpc to v1.57.1 [SECURITY] - autoclosed Nov 28, 2023
@renovate renovate bot closed this Nov 28, 2023
@renovate renovate bot deleted the renovate/go-google.golang.org/grpc-vulnerability branch November 28, 2023 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant