OpenZeppelin Contracts is a library for secure smart contract development. 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. The issue has been fixed in v4.7.2. Users are advised to upgrade. There are no known workarounds for this issue.
References
Link | Resource |
---|---|
https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587 | Patch Third Party Advisory |
https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-7grf-83vw-6f5x | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Information
Published : 2022-08-01 14:15
Updated : 2022-12-06 11:51
NVD link : CVE-2022-35915
Mitre link : CVE-2022-35915
JSON object : View
CWE
CWE-400
Uncontrolled Resource Consumption
Products Affected
openzeppelin
- contracts
- contracts_upgradeable
- openzeppelin-solidity
- openzeppelin-eth