You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR is auto-generated from hashicorp#21519 to be assessed for backporting due to the inclusion of the label backport/1.19.
The below text is copied from the body of the original PR.
Description
There are two entry points into the state store:
Through RPCs
Indirectly, through Raft FSM Applies
In the latter case, errors are not acknowledged because the log must be processed by Consul. It is possible in this case that if a future version of Consul is using syntax, such as Txn API Verbs, that the current version does not understand, it will fail to apply successfully, causing a divergence with other servers.
This PR makes two types of changes:
Panics are introduced for unknown verb types to prevent state store divergence
Validation at the endpoint layer to make sure there is feedback to user for invalid verbs and this cannot be used for a DOS attack.
Backport
This PR is auto-generated from hashicorp#21519 to be assessed for backporting due to the inclusion of the label backport/1.19.
The below text is copied from the body of the original PR.
Description
There are two entry points into the state store:
In the latter case, errors are not acknowledged because the log must be processed by Consul. It is possible in this case that if a future version of Consul is using syntax, such as Txn API Verbs, that the current version does not understand, it will fail to apply successfully, causing a divergence with other servers.
This PR makes two types of changes:
Overview of commits
The text was updated successfully, but these errors were encountered: