Advisory

GHSA-773q-5334-5gf9

Also known as: RUSTSEC-2021-0066

Summary

Memory over-allocation in evm-core

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-08-25 20:55 UTC
Modified
2023-11-08 04:16 UTC

Affected packages and fixes

evm-core

crates.io · All systems

Affected

  • introduced 0.26.0, fixed 0.26.1 (semver)

Fixed versions

0.26.1

Fix

  • Fixed version 0.26.1
    cargo update -p evm-core --precise 0.26.1

evm-core

crates.io · All systems

Affected

  • introduced 0.25.0, fixed 0.25.1 (semver)

Fixed versions

0.25.1

Fix

  • Fixed version 0.25.1
    cargo update -p evm-core --precise 0.25.1

evm-core

crates.io · All systems

Affected

  • introduced 0.24.0, fixed 0.24.1 (semver)

Fixed versions

0.24.1

Fix

  • Fixed version 0.24.1
    cargo update -p evm-core --precise 0.24.1

evm-core

crates.io · All systems

Affected

  • introduced 0.23.0, fixed 0.23.1 (semver)

Fixed versions

0.23.1

Fix

  • Fixed version 0.23.1
    cargo update -p evm-core --precise 0.23.1

evm-core

crates.io · All systems

Affected

  • introduced 0, fixed 0.21.1 (semver)

Fixed versions

0.21.1

Fix

  • Fixed version 0.21.1
    cargo update -p evm-core --precise 0.21.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences