RUSTSEC-2024-0366

Source
https://rustsec.org/advisories/RUSTSEC-2024-0366
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2024-0366.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2024-0366
Published
2024-08-27T12:00:00Z
Modified
2024-08-27T16:22:21Z
Summary
CWA-2023-004: Excessive number of function parameters in compiled Wasm
Details

A specifically crafted Wasm file can cause the VM to consume excessive amounts of memory when compiling a contract. This can lead to high memory usage, slowdowns, potentially a crash and can poison a lock in the VM, preventing any further interaction with contracts.

For more information, see CWA-2023-004.

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

Affected packages

crates.io / cosmwasm-vm

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0
Fixed
1.2.8
Introduced
1.3.0
Fixed
1.3.4
Introduced
1.4.0
Fixed
1.4.2
Introduced
1.5.0
Fixed
1.5.1

Ecosystem specific

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

Database specific

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