OpenZeppelin Contracts contains Incorrect Calculation (OpenZeppelin openzeppelin-contracts)
En bref
- Source
- NVD
- EPSS
- EPSS 0.71 % · centile 54 ()
- É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 ERC721Consecutive contract designed for minting NFTs in batches does not update balances when a batch has size 1 and consists of a single token. Subsequent transfers from the receiver of that token may overflow the balance as reported by `balanceOf`. The issue exclusively presents with batches of size 1. The issue has been patched in 4.8.2.
Faiblesses (CWE)
- CWE-682 — Calcul incorrect
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-878m-3g6q-594q — OpenZeppelin Contracts contains Incorrect Calculation
Références européennes
- ENISA EUVD · EUVD-2023-0941
- GCVE · GCVE-0-2023-26488
Configurations affectées (CPE NVD)
cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:*≥ 4.8.0 < 4.8.2cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:*≥ 4.8.0 < 4.8.2
Produits affectés
| Produit | Versions |
|---|---|
| OpenZeppelin · openzeppelin-contracts | affected >= 4.8.0, < 4.8.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 |