Advisory

GHSA-f8qm-hmm3-fv7f

Also known as: None

Summary

Namada-apps allows Excessive Computation in Mempool Validation

Details

Impact

A malicious transaction may cause an expensive computation in mempool validation.

A transaction with multiple repeated sections causes the section hash calculation used for signature validation to grow exponentially (and potentially even cubic) in proportion to number of sections. This may be used to significantly slow down operation of nodes.

Patches

This issue has been patched in apps version 1.1.0. The transaction sections are now being checked for uniqueness and the number of permitted sections contained in a single transaction has been limited to 10,000.

Workarounds

There are no workarounds and users are advised to upgrade.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2025-02-20 20:34 UTC
Modified
2025-02-20 20:34 UTC

Affected packages and fixes

namada-apps

crates.io · All systems

Affected

  • introduced 1.0.0, fixed 1.1.0 (semver)

Fixed versions

1.1.0

Fix

  • Fixed version 1.1.0
    cargo update -p namada-apps --precise 1.1.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences