Vulnerabilities in pkg:golang/github.com/CosmWasm/wasmd
PACKAGEGHSA-m3rh-cvr5-x6q4 is a MODERATE (CVSS 3.7) cosmwasm wasmd has large address vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Github.com/CosmWasm/wasmd libraries in the Go ecosystem. The issue involves cosmwasm wasmd has large address count in validatebasic. Remediation is available by upgrading affected packages to version 0.52.0.
pkg:golang/github.com/CosmWasm/wasmd
Vulnerability advisories affecting package pkg:golang/github.com/CosmWasm/wasmd. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-m3rh-cvr5-x6q4 | - | MODERATE | CosmWasm wasmd has large address count in ValidateBasic |
| GHSA-79xg-q4qm-7v9w | - | HIGH | CWA-2025-006: wasmd's improper error handling may lead to IBC channel opening despite error |
| GHSA-vmg2-r3xv-r3xf | - | LOW | Simulation of Wasmd message can cause crashing |
| GHSA-fpgj-cr28-fvpx | - | MODERATE | CWA-2024-006: wasmd non-deterministic module_query_safe query |
| GHSA-g8w7-7vgg-x7xg | - | HIGH | CWA-2024-005: Stackoverflow in wasmd |
GHSA-m3rh-cvr5-x6q4 at a Glance
Security Impact
CVSS: 3.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L).
How to Fix GHSA-m3rh-cvr5-x6q4
To remediate this vulnerability, upgrade all affected Github.com/CosmWasm/wasmd dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/CosmWasm/wasmd to 0.52.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/CosmWasm/wasmd
How to Check if You Are Affected
To determine whether your application is affected by GHSA-m3rh-cvr5-x6q4, inspect your project dependencies for Github.com/CosmWasm/wasmd:
inspect dependencies for github.com/CosmWasm/wasmd
Analyze the terminal output to locate any version of Github.com/CosmWasm/wasmd in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.52.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Github.com/CosmWasm/wasmd, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-m3rh-cvr5-x6q4 Affected Github.com/CosmWasm/wasmd Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/CosmWasm/wasmd
|
Go |
< 0.52.0
|
0.52.0
|
References
Frequently Asked Questions
What is GHSA-m3rh-cvr5-x6q4?
Which Github.com/CosmWasm/wasmd versions are affected?
What version fixes GHSA-m3rh-cvr5-x6q4?
Is github.com/CosmWasm/wasmd affected?
What is the CVSS score of GHSA-m3rh-cvr5-x6q4?
What CWE is associated with GHSA-m3rh-cvr5-x6q4?
How can I check Go dependencies for GHSA-m3rh-cvr5-x6q4?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-m3rh-cvr5-x6q4",
"modified" : "2026-07-06T16:26:14Z",
"published" : "2024-08-08T16:36:26Z",
"aliases" : [ ],
"summary" : "CosmWasm wasmd has large address count in ValidateBasic",
"details" : "**Component:** wasmd\n**Criticality:** Low ([ACMv1](https://github.com/interchainio/security/blob/main/resources/CLASSIFICATION_MATRIX.md): I:Moderate; L:Unlikely)\n**Patched versions:** wasmd 0.52.0\n\nIn multiple wasmd message types it was possible to add a large number of addresses which might lead to unexpected resource consumption in ValidateBasic.\n\nSee [CWA-2024-003](https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2024-003.md) for more details.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/CosmWasm/wasmd"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.52.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/CosmWasm/wasmd/security/advisories/GHSA-m3rh-cvr5-x6q4"
}, {
"type" : "WEB",
"url" : "https://github.com/CosmWasm/wasmd/commit/76c0c061c9cb6b142163883e46c26d99384dc443"
}, {
"type" : "WEB",
"url" : "https://github.com/CosmWasm/advisories/blob/main/CWAs/CWA-2024-003.md"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/CosmWasm/wasmd"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-08-08T16:36:26Z",
"nvd_published_at" : null
}
}