ghsa-878m-3g6q-594q
Vulnerability from github
Published
2023-03-03 20:02
Modified
2023-03-10 15:30
Severity ?
VLAI Severity ?
Summary
OpenZeppelin Contracts contains Incorrect Calculation
Details
Impact
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.
Patches
The issue has been patched in 4.8.2.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "@openzeppelin/contracts" }, "ranges": [ { "events": [ { "introduced": "4.8.0" }, { "fixed": "4.8.2" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "npm", "name": "@openzeppelin/contracts-upgradeable" }, "ranges": [ { "events": [ { "introduced": "4.8.0" }, { "fixed": "4.8.2" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2023-26488" ], "database_specific": { "cwe_ids": [ "CWE-682" ], "github_reviewed": true, "github_reviewed_at": "2023-03-03T20:02:16Z", "nvd_published_at": "2023-03-03T22:15:00Z", "severity": "MODERATE" }, "details": "### Impact\n\nThe 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`.\n\nThe issue exclusively presents with batches of size 1.\n\n### Patches\n\nThe issue has been patched in 4.8.2.\n\n\u003c!-- ### References --\u003e\n\n", "id": "GHSA-878m-3g6q-594q", "modified": "2023-03-10T15:30:54Z", "published": "2023-03-03T20:02:16Z", "references": [ { "type": "WEB", "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/security/advisories/GHSA-878m-3g6q-594q" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-26488" }, { "type": "WEB", "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/commit/167bf67ed3907f4a674043496019fa346cee7705" }, { "type": "PACKAGE", "url": "https://github.com/OpenZeppelin/openzeppelin-contracts" }, { "type": "WEB", "url": "https://github.com/OpenZeppelin/openzeppelin-contracts/releases/tag/v4.8.2" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N", "type": "CVSS_V3" } ], "summary": "OpenZeppelin Contracts contains Incorrect Calculation" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…