CVE-2022-35915
CVE-2022-35915 · Unbounded gas consumption in @openzeppelin/contracts
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.3 · Medium · EPSS 0.8% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
openzeppelin-contracts
- Versions
- >=2.0.0 < 4.7.2: Affected
No fix published
@openzeppelin/contracts npm
- Affected ranges
- SEMVER: ≥ 2.0.0, < 4.7.2
Update to 4.7.2
openzeppelin-solidity npm
- Affected ranges
- SEMVER: ≥ 2.0.0, ≤ 4.6.0
No fix published
@openzeppelin/contracts-upgradeable npm
- Affected ranges
- SEMVER: ≥ 3.2.0, < 4.7.2
Update to 4.7.2
openzeppelin-eth npm
- Affected ranges
- SEMVER: ≥ 2.0.0, ≤ 2.2.0
No fix published