-
Notifications
You must be signed in to change notification settings - Fork 404
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
Invalid signature key type allows to trigger an assertion via remote #285
Comments
Thanks, do you have details what the remote sent to trigger it? |
I attached a pcap of the communication causing the error. Also, here is an |
The would only happen from a misbehaved server, it hits an assertion. Fixes #285 on github
Thanks, the I wonder why the existing client fuzzer in oss-fuzz hasn't hit it... |
Aha, it's because the oss-fuzz runs don't have any auth key for the client to use, vs your session's
I'm impressed by |
Hey, I found a bug in the
dbclient
that can be triggered in a release build from remote. Sincesignkey.c
is likely also used by the server, this assert could also be triggered on the server.The following assert is triggered:
dropbear/src/signkey.c
Line 186 in 910af60
If the assert is disabled via
NDEBUG
this could probably lead to undefined behavior due to a cast of the unsanitized valuedropbear/src/signkey.c
Line 187 in 910af60
I used the following command for compilation:
And this is the backtrace of the triggered bug:
Best,
Nils
The text was updated successfully, but these errors were encountered: