First published: Mon Aug 01 2022(Updated: )
### Impact The target contract of an EIP-165 `supportsInterface` query can cause unbounded gas consumption by returning a lot of data, while it is generally assumed that this operation has a bounded cost. ### Patches The issue has been fixed in v4.7.2. ### References https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587 ### For more information If you have any questions or comments about this advisory, or need assistance deploying a fix, email us at [security@openzeppelin.com](mailto:security@openzeppelin.com).
Credit: security-advisories@github.com security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
npm/openzeppelin-eth | >=2.0.0<=2.2.0 | |
npm/@openzeppelin/contracts-upgradeable | >=3.2.0<4.7.2 | 4.7.2 |
npm/openzeppelin-solidity | >=2.0.0<=4.6.0 | |
npm/@openzeppelin/contracts | >=2.0.0<4.7.2 | 4.7.2 |
OpenZeppelin Contracts | >=2.0.0<4.7.2 | |
OpenZeppelin Contracts Upgradeable | >=3.2.0<4.7.2 | |
OpenZeppelin | >=2.0.0 | |
OpenZeppelin | >=2.0.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The target contract of an EIP-165 supportsInterface query can cause unbounded gas consumption by returning a lot of data.
OpenZeppelin Contracts versions 2.0.0 to 4.7.2 are affected.
Upgrade to version 4.7.2 of OpenZeppelin Contracts.
You can find more information about CVE-2022-35915 in the OpenZeppelin Contracts security advisory or the NVD.
The severity rating of CVE-2022-35915 is medium (5.3).