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

exploitDog

github логотип

GHSA-cjg2-2fjg-fph4

Опубликовано: 14 янв. 2022
Источник: github
Github: Прошло ревью

Описание

Integer underflow in Frontier

Impact

A bug in Frontier's MODEXP precompile implementation can cause an integer underflow in certain conditions. This will cause a node crash for debug builds. For release builds (and production WebAssembly binaries), the impact is limited as it can only cause a normal EVM out-of-gas. It is recommended that you apply the patch as soon as possible.

If you do not use MODEXP precompile in your runtime, then you are not impacted.

Patches

Patches are applied in PR #549.

Workarounds

None.

References

Patch PR: #549

Credits

Thanks to SR-Labs for discovering the security vulnerability, and thanks to PureStake team for the patches.

For more information

If you have any questions or comments about this advisory:

Пакеты

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

pallet-evm-precompile-modexp

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

<= 1.0.0

Отсутствует

EPSS

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

Дефекты

CWE-191

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

CVSS3: 6.5
nvd
около 4 лет назад

Frontier is Substrate's Ethereum compatibility layer. Prior to commit number `8a93fdc6c9f4eb1d2f2a11b7ff1d12d70bf5a664`, a bug in Frontier's MODEXP precompile implementation can cause an integer underflow in certain conditions. This will cause a node crash for debug builds. For release builds (and production WebAssembly binaries), the impact is limited as it can only cause a normal EVM out-of-gas. Users who do not use MODEXP precompile in their runtime are not impacted. A patch is available in pull request #549.

EPSS

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

Дефекты

CWE-191