Skip to content

Memory over-allocation in evm-core

Moderate severity GitHub Reviewed Published Aug 25, 2021 to the GitHub Advisory Database • Updated Jun 13, 2023

Package

cargo evm-core (Rust)

Affected versions

>= 0.26.0, < 0.26.1
>= 0.25.0, < 0.25.1
>= 0.24.0, < 0.24.1
>= 0.23.0, < 0.23.1
< 0.21.1

Patched versions

0.26.1
0.25.1
0.24.1
0.23.1
0.21.1

Description

Prior to the patch, when executing specific EVM opcodes related
to memory operations that use evm_core::Memory::copy_large, the
crate can over-allocate memory when it is not needed, making it
possible for an attacker to perform denial-of-service attack.

The flaw was corrected in commit 19ade85.

References

Reviewed Aug 18, 2021
Published to the GitHub Advisory Database Aug 25, 2021
Last updated Jun 13, 2023

Severity

Moderate

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-773q-5334-5gf9

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.