Description
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 (2)
Core 2
Core References
Third Party Advisory x_refsource_confirm
https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-7grf-83vw-6f5x
Patch, Third Party Advisory x_refsource_misc
https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587
Scores
CVSS v3
5.3
EPSS
0.0031
EPSS Percentile
53.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-770
CWE-400
Status
published
Products (8)
npm/openzeppelin-eth
2.0.0npm
npm/openzeppelin-solidity
2.0.0npm
openzeppelin/contracts
2.0.0 - 4.7.2
openzeppelin/contracts
2.0.0 - 4.7.2npm
openzeppelin/contracts-upgradeable
3.2.0 - 4.7.2npm
openzeppelin/contracts_upgradeable
3.2.0 - 4.7.2
openzeppelin/openzeppelin-eth
2.0.0
openzeppelin/openzeppelin-solidity
2.0.0
Published
Aug 01, 2022
Tracked Since
Feb 18, 2026