GHSA-773q-5334-5gf9
medium
Memory over-allocation in evm-core
- Severity
- medium rating by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2021-0066
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| evm-core (crates.io) | from 0.26.0 before 0.26.1, from 0.25.0 before 0.25.1, from 0.24.0 before 0.24.1, from 0.23.0 before 0.23.1, before 0.21.1, from 0.0.0-0 before 0.21.1, from 0.22.0-0 before 0.23.1, from 0.24.0-0 before 0.24.1 and 2 more | GitHub Advisory Database, RustSec Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-773q-5334-5gf9 changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2021-0066 changed 2023-11-08 | CC0-1.0 |