NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🦀 crates.io
Not in CISA KEV

Memory over-allocation in evm-coreGHSA-773q-5334-5gf9

Fix: rust-blockchain/evm@19ade85

GHSA-773q-5334-5gf9 is a security vulnerability in evm-core. A fix is available for evm-core — see the affected versions and patch details below.

Also known asRUSTSEC-2021-0066
Published
Updated
Affected
5 pkgs
Patched
5 / 5
Exploits
None indexed
Exploitation data as of Nov 8, 2023 · OSV.dev, FIRST.org (EPSS)

Real-World Exposure

5 pkgs affected
🦀evm-core🦀evm-core🦀evm-core🦀evm-core🦀evm-core

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects crates.io packages — download data is not available via public APIs for these ecosystems.

Description

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.

Affected Packages

5 total 5 fixed
EcosystemPackageVulnerable rangeFix
🦀crates.ioevm-core≥ 0.26.0&&< 0.26.10.26.1cargo update -p evm-core --precise 0.26.1
🦀crates.ioevm-core≥ 0.25.0&&< 0.25.10.25.1cargo update -p evm-core --precise 0.25.1
🦀crates.ioevm-core≥ 0.24.0&&< 0.24.10.24.1cargo update -p evm-core --precise 0.24.1
🦀crates.ioevm-core≥ 0.23.0&&< 0.23.10.23.1cargo update -p evm-core --precise 0.23.1
🦀crates.ioevm-coreall versions0.21.1cargo update -p evm-core --precise 0.21.1

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for evm-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update evm-core to 0.26.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-773q-5334-5gf9 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Frequently Asked Questions

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`.
O3 Security · Impact-Aware SCA

Is GHSA-773q-5334-5gf9 in your dependencies?

Find it across crates.io, including transitive dependencies.

Memory over-allocation in evm-core