GHSA-773q-5334-5gf9

Suggest an improvement
Source
https://github.com/advisories/GHSA-773q-5334-5gf9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-773q-5334-5gf9/GHSA-773q-5334-5gf9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-773q-5334-5gf9
Aliases
Published
2021-08-25T20:55:36Z
Modified
2023-11-08T04:16:40.750878Z
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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-789"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-18T21:38:27Z"
}
References

Affected packages

crates.io / evm-core

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.26.0
Fixed
0.26.1

crates.io / evm-core

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.25.0
Fixed
0.25.1

crates.io / evm-core

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.24.0
Fixed
0.24.1

crates.io / evm-core

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.23.0
Fixed
0.23.1

crates.io / evm-core

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.21.1