Buffer overflow in Evm Project
CVE-2021-29511
evm 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.013 (68.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 69th percentile — 68.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.013 · newest: 0.013 · change: 0.000
Affected products
- Evm Project — versions 0.22.0, 0.23.0, 0.24.0
- Rust-Blockchain Evm — versions < 0.21.1, = 0.22.0, = 0.23.0
Weakness classification (CWE)
References
- github.com/rust-blockchain/evm/security/advisories/GHSA-4jwq-572w-4388 (Patch, Third Party Advisory)
- github.com/rust-blockchain/evm/commit/19ade858c430ab13eb562764a870ac9f8506f8dd (Patch, Third Party Advisory)
- crates.io/crates/evm (Third Party Advisory)
Frequently asked questions
- What is CVE-2021-29511?
- CVE-2021-29511 is a medium-severity vulnerability in Evm Project, classified under Allocation of Resources Without Limits or Throttling. CVSS score: 6.5/10. Published 2021-05-12.
- How severe is CVE-2021-29511?
- Medium severity. CVSS v3 base score is 6.5 out of 10.