GitHub Advisoryadvisory · crates.io

GHSA-f8qm-hmm3-fv7f Namada-apps allows Excessive Computation in Mempool Validation

CRITICAL Published 2025-02-20 Modified 2025-02-20 Official page ↗
Ecosystem
crates.io
Packages
namada-apps
Severity
Critical
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
Weaknesses
CWE-770
Reviewed
2025-02-20

Affected packages

• crates.io namada-apps: >= 1.0.0, < 1.1.0 → fixed in 1.1.0

Description

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.

Related

Weakness · CWE (1)

  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References