Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-878m-3g6q-594q

Опубликовано: 03 мар. 2023
Источник: github
Github: Прошло ревью
CVSS3: 6.5

Описание

OpenZeppelin Contracts contains Incorrect Calculation

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.

Пакеты

Наименование

@openzeppelin/contracts

npm
Затронутые версииВерсия исправления

>= 4.8.0, < 4.8.2

4.8.2

Наименование

@openzeppelin/contracts-upgradeable

npm
Затронутые версииВерсия исправления

>= 4.8.0, < 4.8.2

4.8.2

EPSS

Процентиль: 28%
0.001
Низкий

6.5 Medium

CVSS3

Дефекты

CWE-682

Связанные уязвимости

CVSS3: 6.5
nvd
почти 3 года назад

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.

EPSS

Процентиль: 28%
0.001
Низкий

6.5 Medium

CVSS3

Дефекты

CWE-682