Quick answers
- Is This vulnerability exploited in the wild?
- No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
- How severe is This vulnerability?
- Low severity, with a CVSS score of 3.7, published 8 August 2024.
- Which products and versions are affected?
- CosmWasm Wasmd < 0.52.0; github.com/CosmWasm/wasmd (Go) < 0.52.0.
- Is there a fix for This vulnerability?
- A patch was published on 2024-08-08T16:36:26Z. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is This vulnerability attacked?
- It is attacked over the network, in a software library.
- Am I affected?
- Check whether you run CosmWasm Wasmd or github.com/CosmWasm/wasmd (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A vulnerability classified as CWE-400 (Uncontrolled Resource Consumption) exists in CosmWasm wasmd before version 0.52.0. The root cause is a lack of sufficient limits on the number of addresses that can be included in multiple message types, which are processed by the ValidateBasic function. An attacker can exploit this by sending specially crafted messages with a high address count, leading to excessive CPU or memory usage during validation. While the attack complexity is high, it can be initiated over the network without prior authentication. The issue is addressed in wasmd version 0.52.0.
Affected products
- CosmWasm wasmd < 0.52.0
Timeline
- 2024-08-08: advisory
- 2024-08-08: patched