| パッケージ | 影響を受けるバージョン | 修正済みバージョン |
|---|---|---|
| contracts | ≥ 3.2.0, < 4.8.3 | 4.8.3 |
| contracts upgradeable | ≥ 3.2.0, < 4.8.3 | 4.8.3 |
| @openzeppelin/contracts | ≥ 3.2.0, < 4.8.3 | 4.8.3 |
| @openzeppelin/contracts-upgradeable | ≥ 3.2.0, < 4.8.3 | 4.8.3 |
A function in the implementation contract may be inaccessible if its selector clashes with one of the proxy's own selectors. Specifically, if the clashing function has a different signature with incompatible ABI encoding, the proxy could revert while attempting to decode the arguments from calldata.
The probability of an accidental clash is negligible, but one could be caused deliberately.
The issue has been fixed in v4.8.3.
If a function appears to be inaccessible for this reason, it may be possible to craft the calldata such that ABI decoding does not fail at the proxy and the function is properly proxied through.
https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4154
これらの製品をお使いですか?サイトをスキャンして、脆弱なバージョンが公開されていないか確認しましょう。
無料でサイトをスキャン