Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Memory over-allocation in evm crate

CVSS 3.1 6.5 MEDIUMEUVD CVSS 3.1 6.5 CVSS 3.1 · [email protected] · Secondary 6.5 MEDIUMCVSS 3.1 · [email protected] · Primary 6.5 MEDIUMCVSS 2.0 · [email protected] · Primary 4.0 MEDIUMCVSS_V3 Publisher rating MODERATEFixed by evm 0.21.1Fixed by evm-core 0.21.1Fixed by evm 0.22.1Fixed by evm 0.23.1KEV status unknown

cve-program · CVE-2021-29511

Published

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.

Read the publisher's advisory

euvd · EUVD-2024-0247

Published

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.

Read the publisher's advisory

nvd · CVE-2021-29511

Published

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.

Read the publisher's advisory

osv · GHSA-4jwq-572w-4388

Published

### Impact 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. ### Patches 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`. ### Workarounds None. Please upgrade your `evm` crate version ### References Fix commit: https://github.com/rust-blockchain/evm/commit/19ade858c430ab13eb562764a870ac9f8506f8dd ### For more information If you have any questions or comments about this advisory: * Open an issue in [evm repo](https://github.com/rust-blockchain/evm) * Email [Wei](mailto:[email protected])

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2021-29511

Published

evm

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "evm",
                    "vendor": "rust-blockchain",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "< 0.21.1"
                        },
                        {
                            "status": "affected",
                            "version": "= 0.22.0"
                        },
                        {
                            "status": "affected",
                            "version": "= 0.23.0"
                        },
                        {
                            "status": "affected",
                            "version": "= 0.24.0"
                        },
                        {
                            "status": "affected",
                            "version": "= 0.25.0"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2024-0247

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: May 12, 2021, 5:15:11 PM

dateUpdated: Aug 3, 2024, 10:11:05 PM

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2021-29511

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Modified

Weakness classifications: CWE-770 · CWE-787

Original publisher date fields

published: 2021-05-12T18:15:08.527

lastModified: 2026-06-17T03:47:48.350

6 source CPE criteria · context only
  • cpe:2.3:a:evm_project:evm:*:*:*:*:*:rust:*:*
  • cpe:2.3:a:evm_project:evm:0.22.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:evm_project:evm:0.23.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:evm_project:evm:0.24.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:evm_project:evm:0.25.0:*:*:*:*:rust:*:*
  • cpe:2.3:a:evm_project:evm:0.26.0:*:*:*:*:rust:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-4jwq-572w-4388

Published

evm

crates.io

SEMVER · introduced 0 → fixed 0.21.1

evm-core

crates.io

SEMVER · introduced 0 → fixed 0.21.1

evm

crates.io

SEMVER · introduced 0.22.0 → fixed 0.22.1

1 versions listed as affected

0.22.0

evm

crates.io

SEMVER · introduced 0.23.0 → fixed 0.23.1

1 versions listed as affected

0.23.0

evm

crates.io

SEMVER · introduced 0.24.0 → fixed 0.24.1

1 versions listed as affected

0.24.0

evm

crates.io

SEMVER · introduced 0.25.0 → fixed 0.25.1

1 versions listed as affected

0.25.0

evm

crates.io

SEMVER · introduced 0.26.0 → fixed 0.26.1

1 versions listed as affected

0.26.0

evm-core

crates.io

SEMVER · introduced 0.22.0 → fixed 0.22.1

1 versions listed as affected

0.22.0

evm-core

crates.io

SEMVER · introduced 0.23.0 → fixed 0.23.1

1 versions listed as affected

0.23.0

evm-core

crates.io

SEMVER · introduced 0.24.0 → fixed 0.24.1

1 versions listed as affected

0.24.0

evm-core

crates.io

SEMVER · introduced 0.25.0 → fixed 0.25.1

1 versions listed as affected

0.25.0

evm-core

crates.io

SEMVER · introduced 0.26.0 → fixed 0.26.1

1 versions listed as affected

0.26.0

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 25 Nov 15:36 UTC · 277 of 278 readable · 272 fully read · documentation 469/469 current