Unbounded gas consumption in @openzeppelin/contracts (OpenZeppelin openzeppelin-contracts)
En bref
- Source
- NVD
- EPSS
- EPSS 0.80 % · centile 57 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Modified
Description
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.
Faiblesses (CWE)
- CWE-400 — Consommation de ressources non maîtrisée (déni de service)
- CWE-770 — Allocation de ressources sans limite ni régulation
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | GitHub_M |
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-7grf-83vw-6f5x — OpenZeppelin Contracts ERC165Checker unbounded gas consumption
Références européennes
- ENISA EUVD · EUVD-2022-6503
- GCVE · GCVE-0-2022-35915
Configurations affectées (CPE NVD)
cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:*≥ 2.0.0 < 4.7.2cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:*≥ 3.2.0 < 4.7.2cpe:2.3:a:openzeppelin:openzeppelin-eth:*:*:*:*:*:node.js:*:*≥ 2.0.0cpe:2.3:a:openzeppelin:openzeppelin-solidity:*:*:*:*:*:node.js:*:*≥ 2.0.0
Produits affectés
| Produit | Versions |
|---|---|
| OpenZeppelin · openzeppelin-contracts | affected >=2.0.0 < 4.7.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |