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.

Project Subscriptions

Vendors Products
Openzeppelin Subscribe
Contracts Subscribe
Contracts Upgradeable Subscribe
Openzeppelin-eth Subscribe
Openzeppelin-solidity Subscribe
Advisories
Source ID Title
EUVD EUVD EUVD-2022-6503 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.
Github GHSA Github GHSA GHSA-7grf-83vw-6f5x OpenZeppelin Contracts ERC165Checker unbounded gas consumption
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 23 Apr 2025 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-04-23T17:54:51.563Z

Reserved: 2022-07-15T00:00:00.000Z

Link: CVE-2022-35915

cve-icon Vulnrichment

Updated: 2024-08-03T09:44:22.215Z

cve-icon NVD

Status : Modified

Published: 2022-08-01T21:15:13.687

Modified: 2024-11-21T07:11:57.170

Link: CVE-2022-35915

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses