CVE-2022-35915GHSA-7GRF-83VW-6F5X
Unbounded gas consumption in @openzeppelin/contracts
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.7.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- OpenZeppelin openzeppelin-contracts
>=2.0.0 < 4.7.2
- @openzeppelin/contractsnpm
From 2.0.0 · fixed in 4.7.2
- openzeppelin-soliditynpm
From 2.0.0 · through 4.6.0
- @openzeppelin/contracts-upgradeablenpm
From 3.2.0 · fixed in 4.7.2
- openzeppelin-ethnpm
From 2.0.0 · through 2.2.0