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.
Published: 2022-08-01
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

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
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'}


Subscriptions

Openzeppelin Contracts Contracts Upgradeable Openzeppelin-eth Openzeppelin-solidity
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