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

Byzantine validator can cause network crash by broadcasting big round vote message #465

Closed
b00f opened this issue May 10, 2023 · 0 comments
Labels
high priority It has high priority security

Comments

@b00f
Copy link
Collaborator

b00f commented May 10, 2023

Description

A byzantine validator can create a vote message with a big round value (up to maxint16) and broadcast it to the network. This can cause honest nodes to crash, as they extend the roundMessages slice to accommodate the vote message, eventually exhausting available memory.

Expected Behavior

To prevent this issue, the blockchain should reject any vote message with a round value that is more than 2 rounds bigger than the current round. This will prevent byzantine validators from causing network crashes and ensure the stability of the blockchain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
high priority It has high priority security
Projects
None yet
Development

No branches or pull requests

1 participant