-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
math/big: panic: mismatched montgomery number lengths #48431
Comments
This looks like a security bug: https://golang.org/security |
I'm not sure how this could happen. The |
can I resolve this problem by upgrading go version to 1.17 |
Worth trying. Since we don't know what the problem is, it is hard to be sure. |
The stack trace shows a panic during a signature operation with an RSA certificate key. That's good news and bad news: the good news is that it's less likely to be attacker-controlled, the bads news is that it might be very hard for you to provide a reproducer without disclosing your certificate private key, and I'm not sure we can make much progress from the stack trace alone. |
thanks very much, we will have a try. |
I got it, thank you very much. |
I've been running this program for 24h, no errors yet.
If there's something wrong with |
we run it on the server, every GRPC request create a new connection, hunders connection very seconds, it panic randomly recently, but not often, and I don't know how it happened either. I think we should reduce the connection times first. |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
Just another data point (since this got bumped by gopherbot): I've been running Keith's program for over a cumulative 48 hours across 3 machines (both amd64 and arm64) and haven't seen any errors, either. |
go version 1.16.6
GRPC panicked when serving.
tracing stack:
It happened when server is online, and very seldom, nearly once one or two weeks.
It seems happened when GRPC server handshake when new connection come.
linux kernel version: 3.10.0-1160.36.2.el7.x86_64
CPU:
The text was updated successfully, but these errors were encountered: