OpenZeppelin Contracts is a library for smart contract development. Versions 4.1.0 until 4.7.1 are vulnerable to the SignatureChecker reverting. `SignatureChecker.isValidSignatureNow` is not expected to revert. However, an incorrect assumption about Solidity 0.8's `abi.decode` allows some cases to revert, given a target contract that doesn't implement EIP-1271 as expected. The contracts that may be affected are those that use `SignatureChecker` to check the validity of a signature and handle invalid signatures in a way other than reverting. The issue was patched in version 4.7.1.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2022-07-21T13:55:11

Updated: 2024-08-03T07:11:39.637Z

Reserved: 2022-05-18T00:00:00

Link: CVE-2022-31172

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-07-22T04:15:14.633

Modified: 2024-11-21T07:04:03.080

Link: CVE-2022-31172

cve-icon Redhat

No data.