RUSTSEC-2021-0066
MEDIUMMemory over-allocation in evm-core
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.
- Published
- 11 May 2021
- Last modified
- 8 Nov 2023
- Weakness
- CWE-789
- Also known as
- GHSA-773q-5334-5gf9
- Sources
- OSV GHSA-773q-5334-5gf9JSONOSVJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | evm-core | >= 0.26.0, < 0.26.1 | 0.26.1 |
| OSV | crates.io | evm-core | >= 0.25.0, < 0.25.1 | 0.25.1 |
| OSV | crates.io | evm-core | >= 0.24.0, < 0.24.1 | 0.24.1 |
| OSV | crates.io | evm-core | >= 0.23.0, < 0.23.1 | 0.23.1 |
| OSV | crates.io | evm-core | < 0.21.1 | 0.21.1 |
| OSV | crates.io | evm-core | >= 0.0.0-0, < 0.21.1; >= 0.22.0-0, < 0.23.1; >= 0.24.0-0, < 0.24.1; >= 0.25.0-0, < 0.25.1; >= 0.26.0-0, < 0.26.1 | 0.21.1, 0.23.1, 0.24.1, 0.25.1, 0.26.1 |
References
- https://github.com/rust-blockchain/evm/commit/19ade85 · WEB
- https://github.com/rust-blockchain/evm · PACKAGE, WEB
- https://rustsec.org/advisories/RUSTSEC-2021-0066.html · WEB, ADVISORY
- https://crates.io/crates/evm-core · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 May 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)