GHSA-2gw2-qgjg-xh6p: Namada apps Namada-apps Allows Post-Genesis Validator Bypass Vulnerability

CRITICAL
CWE-248
Published
Advisory Summary

GHSA-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

CVE Identifier N/A
GHSA Identifier GHSA-2gw2-qgjg-xh6p
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-248: Uncaught Exception
Affected Product Namada apps
Package Ecosystem crates.io
Published Date
Last Updated

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.

namada-apps fixed: 1.1.0
Upgrade namada-apps to 1.1.0
Verify Direct and Transitive Dependencies

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

### Impact Ledger 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. ### Patches This 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. ### Workarounds There are no workarounds and users are advised to upgrade.

GHSA-2gw2-qgjg-xh6p Affected Namada apps Versions

1 component(s)
Fixed Versions:
1.1.0
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?
GHSA-2gw2-qgjg-xh6p is a security vulnerability in Namada apps involving Namada-apps allows Post-Genesis Validator Bypass under CWE-248: Uncaught Exception.
Which Namada apps versions are affected?
Affected versions include releases prior to 1.1.0 across affected packages: namada-apps.
What version fixes GHSA-2gw2-qgjg-xh6p?
Upgrading to 1.1.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is namada-apps affected?
Yes, namada-apps is affected in releases prior to 1.1.0. Upgrade your dependency to 1.1.0 or later.
What CWE is associated with GHSA-2gw2-qgjg-xh6p?
GHSA-2gw2-qgjg-xh6p is classified under CWE-248: Uncaught Exception (An exception is thrown from a function, but it is not caught.).
How can I check crates.io dependencies for GHSA-2gw2-qgjg-xh6p?
Run the dependency tree command: 'inspect dependencies for namada-apps'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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
  }
}