CVE-2021-29511

Summary

CVECVE-2021-29511
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-05-12 18:15:00 UTC
Updated2022-10-25 19:13:00 UTC
Descriptionevm is a pure Rust implementation of Ethereum Virtual Machine. Prior to the patch, when executing specific EVM opcodes related to memory operations that use `evm_core::Memory::copy_large`, the `evm` 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`. There are no workarounds. Please upgrade your `evm` crate version.

Risk And Classification

Problem Types: CWE-787

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Evm Project Evm 0.22.0 All All All
Application Evm Project Evm 0.23.0 All All All
Application Evm Project Evm 0.24.0 All All All
Application Evm Project Evm 0.25.0 All All All
Application Evm Project Evm 0.26.0 All All All
Application Evm Project Evm All All All All

References

ReferenceSourceLinkTags
Skip setting memory value if the value vec is empty · rust-blockchain/evm@19ade85 · GitHub MISC github.com
Memory over-allocation in evm crate · Advisory · rust-blockchain/evm · GitHub CONFIRM github.com
crates.io/crates/evm MISC crates.io
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 997013 Rust (Rust) Security Update for evm (GHSA-4jwq-572w-4388)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report