-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5069 from oasisprotocol/kostko/stable/22.2.x/back…
…port-5068 [BACKPORT/22.2.x] runtime/consensus/tendermint/verifier: Correctly compare headers
- Loading branch information
Showing
3 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
runtime/consensus/tendermint/verifier: Correctly compare headers | ||
|
||
Since the store may have an earlier (non-canonical, but valid) version | ||
of the block available, we need to only compare the actual header and | ||
not the commits/signatures. | ||
|
||
This is because it can happen that during the immediate sync the light | ||
block does not yet contain all of the commits (but only just enough to | ||
be valid, e.g. 2/3+) and this gets stored in the light block store. | ||
Later on (e.g. during a query) the presented light block may have the | ||
full set of commits. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
CVE-2022-30591 # quic-go resource exhaustion through 0.27.0, 0.27.1 imported, false positive? | ||
CVE-2022-44797 # remove once tendermint uses btcd above or 0.23.2 | ||
CVE-2022-39389 # can be ignored as we only use a few crypto libraries from btcd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters