CVE-2021-29511Medium· 6.5▾ SunlitMemory over-allocation in evm crate
▾ Sunlit zone — Low / medium · no exploitation signal
impact 35.8 · likelihood 0.3 · exploitation 0
Need a working PoC? Pro members can cast a request and our team develops one — it lands right here.
Exploit-prediction probability, daily snapshots since Jul 9.
Disclosure to exploitation, from the record and what we observed since indexing it.
Disclosed via OSV
Last analysed / modified upstream
1.3%
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. Users should upgrade to ==0.21.1, ==0.23.1, ==0.24.1, ==0.25.1, >=0.26.1.
None. Please upgrade your evm crate version
Fix commit: https://github.com/rust-blockchain/evm/commit/19ade858c430ab13eb562764a870ac9f8506f8dd
If you have any questions or comments about this advisory:
evm < 0.21.1evm-core < 0.21.1evm >= 0.22.0, < 0.22.1evm >= 0.23.0, < 0.23.1evm >= 0.24.0, < 0.24.1evm >= 0.25.0, < 0.25.1evm >= 0.26.0, < 0.26.1evm-core >= 0.22.0, < 0.22.1evm-core >= 0.23.0, < 0.23.1evm-core >= 0.24.0, < 0.24.1evm-core >= 0.25.0, < 0.25.1evm-core >= 0.26.0, < 0.26.1Upgrade to a patched release:
evm 0.21.1evm-core 0.21.1evm 0.22.1evm 0.23.1evm 0.24.1evm 0.25.1evm 0.26.1evm-core 0.22.1evm-core 0.23.1evm-core 0.24.1evm-core 0.25.1evm-core 0.26.1