CVE-2022-35915

    Dashboard / Vulnerabilities / CVE-2022-35915

    CVE-2022-35915

    Published: 1 Aug 2022Last Modified: 12 Aug 2026

    Summary: Unbounded gas consumption in @openzeppelin/contracts

    Details: 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.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 06e265b38d3e9daeaa7b33f9035c700d6bc0c6a0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2022-35915 | CVE-DB