Security mailing lists by PureSourceCode

CVE-2021-29511

MEDIUM 6.5CVSS 3.1

Memory over-allocation in evm crate

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
12 May 2021
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-770CWE-787
Also known as
GHSA-4jwq-572w-4388
Sources
NVDJSONOSV GHSA-4jwq-572w-4388JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.0 AV:N/AC:L/Au:S/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD evm_project evm
cpe:2.3:a:evm_project:evm:*:*:*:*:*:rust:*:*
<= 0.21.0
NVD evm_project evm
cpe:2.3:a:evm_project:evm:0.22.0:*:*:*:*:rust:*:*
= 0.22.0
NVD evm_project evm
cpe:2.3:a:evm_project:evm:0.23.0:*:*:*:*:rust:*:*
= 0.23.0
NVD evm_project evm
cpe:2.3:a:evm_project:evm:0.24.0:*:*:*:*:rust:*:*
= 0.24.0
NVD evm_project evm
cpe:2.3:a:evm_project:evm:0.25.0:*:*:*:*:rust:*:*
= 0.25.0
NVD evm_project evm
cpe:2.3:a:evm_project:evm:0.26.0:*:*:*:*:rust:*:*
= 0.26.0
OSV crates.io evm < 0.21.1 0.21.1
OSV crates.io evm-core < 0.21.1 0.21.1
OSV crates.io evm >= 0.22.0, < 0.22.1 0.22.1
OSV crates.io evm >= 0.23.0, < 0.23.1 0.23.1
OSV crates.io evm >= 0.24.0, < 0.24.1 0.24.1
OSV crates.io evm >= 0.25.0, < 0.25.1 0.25.1
OSV crates.io evm >= 0.26.0, < 0.26.1 0.26.1
OSV crates.io evm-core >= 0.22.0, < 0.22.1 0.22.1
OSV crates.io evm-core >= 0.23.0, < 0.23.1 0.23.1
OSV crates.io evm-core >= 0.24.0, < 0.24.1 0.24.1
OSV crates.io evm-core >= 0.25.0, < 0.25.1 0.25.1
OSV crates.io evm-core >= 0.26.0, < 0.26.1 0.26.1

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 12 May 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Jan 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.