CVE-2022-35915
Summary
| CVE | CVE-2022-35915 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-08-01 21:15:00 UTC |
| Updated | 2023-07-21 20:48:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-770
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Openzeppelin | Contracts | All | All | All | All |
| Application | Openzeppelin | Contracts-upgradeable | All | All | All | All |
| Application | Openzeppelin | Contracts Upgradeable | All | All | All | All |
| Application | Openzeppelin | Openzeppelin-eth | All | All | All | All |
| Application | Openzeppelin | Openzeppelin-solidity | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| ERC165Checker unbounded gas consumption · Advisory · OpenZeppelin/openzeppelin-contracts · GitHub | CONFIRM | github.com | |
| Avoid returnbomb in ERC165Checker by Amxx · Pull Request #3587 · OpenZeppelin/openzeppelin-contracts · GitHub | MISC | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.