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

RUSTSEC-2024-0376: console-subscriber can be shut down remotely if tokio_unstable feature is activated and the console server is exposed manually #2947

Open
github-actions bot opened this issue Oct 2, 2024 · 1 comment

Comments

@github-actions
Copy link

github-actions bot commented Oct 2, 2024

Remotely exploitable Denial of Service in Tonic

Details
Package tonic
Version 0.12.1
URL GHSA-4jwc-w2hc-78qv
Date 2024-10-01
Patched versions >=0.12.3

Impact

When using tonic::transport::Server there is a remote DoS attack that can cause the server to exit cleanly on accepting a tcp/tls stream. This can be triggered via causing the accept call to error out with errors there were not covered correctly causing the accept loop to exit.

More information can be found here

Patches

Upgrading to tonic 0.12.3 and above contains the fix.

Workarounds

A custom accept loop is a possible workaround.

See advisory page for additional details.

@hrxi
Copy link
Contributor

hrxi commented Oct 2, 2024

Looks like very low priority. It's only a dependency of console_subscriber which is disabled by default unless the tokio_unstable is enabled. And even then, it's on a server that isn't expected to run outside of a localhost environment.

@hrxi hrxi changed the title RUSTSEC-2024-0376: Remotely exploitable Denial of Service in Tonic RUSTSEC-2024-0376: console-subscriber can be shut down remotely if tokio_unstable feature is activated and the console server is exposed manually Oct 2, 2024
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

No branches or pull requests

1 participant