CVE-2022-35915
published 2022-08-01CVE-2022-35915: OpenZeppelin Contracts is a library for secure smart contract development. The target contract of an EIP-165 `supportsInterface` query can cause unbounded gas…
PriorityP425medium5.3CVSS 3.1
AVNACLPRNUINSUCNINAL
EPSS
0.66%
47.3th percentile
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.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| openzeppelin | contracts | >= 2.0.0 < 4.7.2 | 4.7.2 |
| openzeppelin | contracts | >= 2.0.0 < 4.7.2 | 4.7.2 |
| openzeppelin | contracts-upgradeable | >= 3.2.0 < 4.7.2 | 4.7.2 |
| openzeppelin | contracts_upgradeable | >= 3.2.0 < 4.7.2 | 4.7.2 |
| openzeppelin | openzeppelin-contracts | — | — |
| openzeppelin | openzeppelin-eth | 2.0.0 – 2.2.0 | — |
| openzeppelin | openzeppelin-eth | >= 2.0.0 | — |
| openzeppelin | openzeppelin-solidity | 2.0.0 – 4.6.0 | — |
| openzeppelin | openzeppelin-solidity | >= 2.0.0 | — |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
OpenZeppelin Contracts ERC165Checker unbounded gas consumption
osv·2022-08-14
CVE-2022-35915 [MEDIUM] OpenZeppelin Contracts ERC165Checker unbounded gas consumption
OpenZeppelin Contracts ERC165Checker unbounded gas consumption
### 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 [[email protected]](mailto:[email protected]).
GHSA
OpenZeppelin Contracts ERC165Checker unbounded gas consumption
ghsa·2022-08-14
CVE-2022-35915 [MEDIUM] CWE-400 OpenZeppelin Contracts ERC165Checker unbounded gas consumption
OpenZeppelin Contracts ERC165Checker unbounded gas consumption
### 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 [[email protected]](mailto:[email protected]).
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-7grf-83vw-6f5xhttps://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-7grf-83vw-6f5x
2022-08-01
Published