Memory over-allocation in evm-core
Moderate severity
GitHub Reviewed
Published
Aug 25, 2021
to the GitHub Advisory Database
•
Updated Jun 13, 2023
Package
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
Reviewed
Aug 18, 2021
Published to the GitHub Advisory Database
Aug 25, 2021
Last updated
Jun 13, 2023
Prior to the patch, when executing specific EVM opcodes related
to memory operations that use
evm_core::Memory::copy_large
, thecrate 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