Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. openzeppelin-eth
  4. ›
  5. CVE-2022-35915

CVE-2022-35915: Uncontrolled Resource Consumption

August 1, 2022 (updated July 21, 2023)

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.

References

  • github.com/OpenZeppelin/openzeppelin-contracts/pull/3587
  • github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-7grf-83vw-6f5x
  • nvd.nist.gov/vuln/detail/CVE-2022-35915

Code Behaviors & Features

Detect and mitigate CVE-2022-35915 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0

Solution

Unfortunately, there is no solution available yet.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

npm/openzeppelin-eth/CVE-2022-35915.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:49 +0000.