GHSA-2gw2-qgjg-xh6p Namada-apps allows Post-Genesis Validator Bypass

Not scored Published

An attacker can crash the Namada blockchain node by initializing a validator with a negative commission rate, causing consensus failures.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is GHSA-2gw2-qgjg-xh6p?

GHSA-2gw2-qgjg-xh6p is a vulnerability in namada-apps, published on 20 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Which versions are affected by GHSA-2gw2-qgjg-xh6p?

2 open source packages ship an affected version, including namada-apps.

PackageAffectedFixed in
namada-apps crates.ioFrom 1.0.01.1.0
namada-apps crates.ioFrom 1.0.01.1.0

How do I fix GHSA-2gw2-qgjg-xh6p?

Upgrade namada-apps to 1.1.0 or later.

Is GHSA-2gw2-qgjg-xh6p being exploited?

There is no known exploitation of GHSA-2gw2-qgjg-xh6p in the wild and no public exploit code.

Sources

Is GHSA-2gw2-qgjg-xh6p in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free