cve.bz

CVE-2022-35915

5.3 mediumEPSS 0.8%

Medium (5.3) in openzeppelin. EPSS 0.8% chance of exploitation in the next 30 days. Fixed in @openzeppelin/contracts 4.7.2.

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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.8% chance of exploitation in the next 30 days; higher than 56% of CVEs (scores of 2026-10-31)
CWEs
CWE-770, CWE-400
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7grf-83vw-6f5xnpm@openzeppelin/contracts>=2.0.0 <4.7.24.7.2
GHSA-7grf-83vw-6f5xnpmopenzeppelin-solidity>=2.0.0 <=4.6.0no fix published
GHSA-7grf-83vw-6f5xnpm@openzeppelin/contracts-upgradeable>=3.2.0 <4.7.24.7.2
GHSA-7grf-83vw-6f5xnpmopenzeppelin-eth>=2.0.0 <=2.2.0no fix published

References

Check your stackJSON