CVE-2022-35915 - CVE House
Back to Database
Status published Medium CVE-2022-35915

Unbounded gas consumption in @openzeppelin/contracts

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-35915

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

OpenZeppelin

View all reports →

Affected Software

openzeppelin-contracts
Vulnerable Versions:
>=2.0.0 < 4.7.2

Timeline

Official Publish: August 1st, 2022
Last Modified: April 23rd, 2025
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Weaknesses (CWE)