{"id":"GHSA-773q-5334-5gf9","aliases":["GHSA-773q-5334-5gf9","RUSTSEC-2021-0066"],"related":[],"kind":"vulnerability","state":"published","title":"Memory over-allocation in evm-core","summary":"Prior to the patch, when executing specific EVM opcodes related\nto memory operations that use `evm_core::Memory::copy_large`, the\ncrate can over-allocate memory when it is not needed, making it\npossible for an attacker to perform denial-of-service attack.\n\nThe flaw was corrected in commit `19ade85`.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Prior to the patch, when executing specific EVM opcodes related\nto memory operations that use `evm_core::Memory::copy_large`, the\ncrate can over-allocate memory when it is not needed, making it\npossible for an attacker to perform denial-of-service attack.\n\nThe flaw was corrected in commit `19ade85`.","format":"markdown","source":"ghsa"}],"published":"2021-05-11T12:00:00.000Z","modified":"2023-11-08T04:16:40.750Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-789"],"affected":[{"ranges":[{"type":"semver","introduced":"0.26.0","status":"affected","fixed":"0.26.1"}],"ecosystem":"crates.io","package":"evm-core","purl":"pkg:cargo/evm-core","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.25.0","status":"affected","fixed":"0.25.1"}],"ecosystem":"crates.io","package":"evm-core","purl":"pkg:cargo/evm-core","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.24.0","status":"affected","fixed":"0.24.1"}],"ecosystem":"crates.io","package":"evm-core","purl":"pkg:cargo/evm-core","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.23.0","status":"affected","fixed":"0.23.1"}],"ecosystem":"crates.io","package":"evm-core","purl":"pkg:cargo/evm-core","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.21.1"}],"ecosystem":"crates.io","package":"evm-core","purl":"pkg:cargo/evm-core","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.21.1"},{"type":"semver","introduced":"0.22.0-0","status":"affected","fixed":"0.23.1"},{"type":"semver","introduced":"0.24.0-0","status":"affected","fixed":"0.24.1"},{"type":"semver","introduced":"0.25.0-0","status":"affected","fixed":"0.25.1"},{"type":"semver","introduced":"0.26.0-0","status":"affected","fixed":"0.26.1"}],"ecosystem":"crates.io","package":"evm-core","purl":"pkg:cargo/evm-core","source":"rustsec"}],"references":[{"url":"https://github.com/rust-blockchain/evm/commit/19ade85","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/rust-blockchain/evm","tags":["package","web"],"sources":["ghsa","rustsec"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0066.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/evm-core","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-773q-5334-5gf9","url":"https://github.com/advisories/GHSA-773q-5334-5gf9","licence":"CC-BY-4.0","modified":"2023-11-08T04:16:40.750Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2021-0066","url":"https://rustsec.org/advisories/RUSTSEC-2021-0066.html","licence":"CC0-1.0","modified":"2023-11-08T04:16:40.750Z"}],"updatedAt":"2026-11-25T22:56:43.041Z"}