Vulnerability Details : CVE-2023-26488
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.
Products affected by CVE-2023-26488
- cpe:2.3:a:openzeppelin:contracts:*:*:*:*:*:node.js:*:*
- Openzeppelin » Contracts Upgradeable » For Node.jsVersions from including (>=) 4.8.0 and before (<) 4.8.2cpe:2.3:a:openzeppelin:contracts_upgradeable:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-26488
0.06%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 26 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-26488
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
2.8
|
3.6
|
NIST | |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
2.8
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2023-26488
-
The product performs a calculation that generates incorrect or unintended results that are later used in security-critical decisions or resource management.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-26488
-
https://github.com/OpenZeppelin/openzeppelin-contracts/commit/167bf67ed3907f4a674043496019fa346cee7705
Fix ERC721Consecutive balance update on batch size 1 · OpenZeppelin/openzeppelin-contracts@167bf67 · GitHubPatch
-
https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-878m-3g6q-594q
ERC721Consecutive incorrect balance update with batch of 1 · Advisory · OpenZeppelin/openzeppelin-contracts · GitHubThird Party Advisory
-
https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.2
Release v4.8.2 · OpenZeppelin/openzeppelin-contracts · GitHubRelease Notes
Jump to