RUSTSEC-2024-0361

Source
https://rustsec.org/advisories/RUSTSEC-2024-0361
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2024-0361.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2024-0361
Aliases
Published
2024-08-08T12:00:00Z
Modified
2024-08-08T17:11:37Z
Summary
CWA-2024-004: Gas mispricing in cosmwasm-vm
Details

Some Wasm operations take significantly more gas than our benchmarks indicated. This can lead to missing the gas target we defined by a factor of ~10x. This means a malicious contract could take 10 times as much time to execute as expected, which can be used to temporarily DoS a chain.

For more information, see CWA-2024-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.5.7
Introduced
2.0.0
Fixed
2.0.6
Introduced
2.1.0
Fixed
2.1.3

Ecosystem specific

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

Database specific

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