🛡️ CVE-2022-35915
🟡 CVSS 5.3 — Medium ✅ No Known Exploit CWE-400 NVD
5.3
CVSS Score
0 Low4 Medium7 High9 Critical10

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.

Details

Severity Medium
CVSS Score 5.3
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CWE CWE-400
Public Exploit ✅ No
Source NVD
Published 2022-08-14
Updated 2026-06-15
Modified 2023-11-08

Affected Packages

Software From version Fixed in
@openzeppelin/contracts
@openzeppelin/contracts-upgradeable
contracts 2.0.0 4.7.2
contracts-upgradeable 3.2.0 4.7.2
openzeppelin-eth
openzeppelin-solidity

Similar Threats

Patch Gap Protection

Running software with known vulnerabilities?

BotEraser can help reduce exposure by blocking IPs associated with exploit activity — even before a patch is available.

Start Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.