Home
» GitHub Advisories
» GHSA-7grf-83vw-6f5x
Description
Impact
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.
Patches
The issue has been fixed in v4.7.2.
References
https://github.com/OpenZeppelin/openzeppelin-contracts/pull/3587
For more information
If you have any questions or comments about this advisory, or need assistance deploying a fix, email us at [email protected] .
Basic information
Type
reviewed
Severity
medium
Advisory on GitHub
Open advisory ↗
Repository advisory
Open repository advisory ↗
Source code
Browse source ↗
Published (advisory)
2022-08-14 00:23:34 UTC
Updated
2023-07-21 21:32:44 UTC
GitHub reviewed
2022-08-14 00:23:34 UTC
NVD published
2022-08-01
EPSS Score
Score
Percentile
0.30%
53.53%
CVSS Scores
Base score
Version
Severity
Vector
5.3
3.1
—
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
CWEs
CWE id
Name
CWE-400
Uncontrolled Resource Consumption
CWE-770
Allocation of Resources Without Limits or Throttling
Affected packages (4)
Vulnerable version ranges and first patched releases as published by GitHub.
Ecosystem
Package
Vulnerable range
First patched
Vulnerable functions
npm
@openzeppelin/contracts
>= 2.0.0, < 4.7.2
4.7.2
—
npm
openzeppelin-solidity
>= 2.0.0, <= 4.6.0
—
—
npm
@openzeppelin/contracts-upgradeable
>= 3.2.0, < 4.7.2
4.7.2
—
npm
openzeppelin-eth
>= 2.0.0, <= 2.2.0
—
—
cvelogic
Threat Intelligence