| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|---|---|
| contracts | ≥ 4.3.0, < 4.8.3 | 4.8.3 |
| contracts upgradeable | ≥ 4.3.0, < 4.8.3 | 4.8.3 |
| @openzeppelin/contracts | ≥ 4.3.0, < 4.8.3 | 4.8.3 |
| @openzeppelin/contracts-upgradeable | ≥ 4.3.0, < 4.8.3 | 4.8.3 |
The proposal creation entrypoint (propose) in GovernorCompatibilityBravo allows the creation of proposals with a signatures array shorter than the calldatas array. This causes the additional elements of the latter to be ignored, and if the proposal succeeds the corresponding actions would eventually execute without any calldata. The ProposalCreated event correctly represents what will eventually execute, but the proposal parameters as queried through getActions appear to respect the original intended calldata.
This issue has been patched in v4.8.3.
Ensure that all proposals that pass through governance have equal length signatures and calldatas parameters.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí