CVE-2022-35915
01.08.2022, 21:15
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.Enginsight
Vendor | Product | Version |
---|---|---|
openzeppelin | contracts | 2.0.0 ≤ 𝑥 < 4.7.2 |
openzeppelin | contracts_upgradeable | 3.2.0 ≤ 𝑥 < 4.7.2 |
openzeppelin | openzeppelin-eth | 2.0.0 ≤ |
openzeppelin | openzeppelin-solidity | 2.0.0 ≤ |
𝑥
= Vulnerable software versions
Common Weakness Enumeration
- CWE-400 - Uncontrolled Resource ConsumptionThe software does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.
- CWE-770 - Allocation of Resources Without Limits or ThrottlingThe software allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.
References