GHSA-2gw2-qgjg-xh6p: Namada apps Namada-apps Allows Post-Genesis Validator Bypass Vulnerability
CRITICALGHSA-2gw2-qgjg-xh6p is a CRITICAL namada-apps allows post-genesis validator bypass vulnerability (CWE-248: Uncaught Exception) affecting Namada apps libraries in the crates.io ecosystem. The issue involves namada-apps allows post-genesis validator bypass. Remediation is available by upgrading affected packages to version 1.1.0.
GHSA-2gw2-qgjg-xh6p at a Glance
How to Fix GHSA-2gw2-qgjg-xh6p
To remediate this vulnerability, upgrade all affected Namada apps 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 namada-apps to 1.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for namada-apps
How to Check if You Are Affected
To determine whether your application is affected by GHSA-2gw2-qgjg-xh6p, inspect your project dependencies for Namada apps:
inspect dependencies for namada-apps
Analyze the terminal output to locate any version of Namada apps in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.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-248: Uncaught Exception, where an exception is thrown from a function, but it is not caught. In Namada apps, 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-2gw2-qgjg-xh6p Affected Namada apps Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
namada-apps
|
crates.io |
≥ 1.0.0
< 1.1.0
All 1 versions
1.0.0
|
1.1.0
|
References
Frequently Asked Questions
What is GHSA-2gw2-qgjg-xh6p?
Which Namada apps versions are affected?
What version fixes GHSA-2gw2-qgjg-xh6p?
Is namada-apps affected?
What CWE is associated with GHSA-2gw2-qgjg-xh6p?
How can I check crates.io dependencies for GHSA-2gw2-qgjg-xh6p?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2gw2-qgjg-xh6p",
"modified" : "2025-02-20T20:24:19Z",
"published" : "2025-02-20T20:24:19Z",
"aliases" : [ ],
"summary" : "Namada-apps allows Post-Genesis Validator Bypass",
"details" : "### Impact\n\nLedger crash. A user is able to initialize a post-genesis validator with a negative commission rate using the `--force` flag. If this validator gets into the consensus set, then when computing PoS inflation inside `fn update_rewards_products_and_mint_inflation`, an instance of `mul_floor` will cause the return of an `Err`, which causes `finalize_block` to error.\n\n### Patches\n\nThis issue has been patched in apps version 1.1.0. The PoS validity predicate now enforces that the commission rate is not negative and any transaction that fails the check will be rejected, both for newly initialized validators and for commission rate change of an existing validator.\n\n### Workarounds\n\nThere are no workarounds and users are advised to upgrade.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "namada-apps"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.0.0"
}, {
"fixed" : "1.1.0"
} ]
} ],
"versions" : [ "1.0.0" ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/anoma/namada/security/advisories/GHSA-2gw2-qgjg-xh6p"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/anoma/namada"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-248" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2025-02-20T20:24:19Z",
"nvd_published_at" : null
}
}