RUSTSEC-2021-0066

Source
https://rustsec.org/advisories/RUSTSEC-2021-0066
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0066.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2021-0066
Aliases
Published
2021-05-11T12:00:00Z
Modified
2023-11-08T04:16:40.750878Z
Summary
Denial of service on EVM execution due to memory over-allocation
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.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / evm-core

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
0.21.1
Introduced
0.22.0-0
Fixed
0.23.1
Introduced
0.24.0-0
Fixed
0.24.1
Introduced
0.25.0-0
Fixed
0.25.1
Introduced
0.26.0-0
Fixed
0.26.1

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": null,
    "categories": [
        "denial-of-service"
    ]
}