Skip to main content

CVE-2025-24800 — Vulnerability in grandpa-verifier-primitives

CRITICAL

ismp-grandpa crate accepted incorrect signatures

Published January 28, 2025Updated January 28, 2025Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.57%). Schedule for your next planned update.

Does your project use an affected grandpa-verifier-primitives version?

Paste your Cargo.lock to check it for CVE-2025-24800 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my Cargo.lock

Summary

A critical vulnerability was discovered in the ismp-grandpa crate, that allowed a malicious prover easily convince the verifier of the finality of arbitrary headers.

Description

The vulnerability manifests as a verifer that only accepts incorrect signatures of Grandpa precommits and was introduced in this specific commit. Perhaps due to unfamiliarity with core substrate APIs. The if statement should have included a negation check, similar to the previous code, but this was omitted. Causing the verifier to only accept invalid signatures.

This vulnerability remained undetected even with integration tests, as the prover was also misconfigured to initialize the Grandpa verifier with the incorrect authority set_id. This causes verification of honest precommit signatures to fail as the message is now malformed, but the verifier indeed only accepts signatures or messages that fail the verification check.

But even more devastatingly, the verifier will also accept malicious GRANDPA signatures for any precommit message.

This vulnerability has been fixed in this commit and a patch release has been published.

Impact

This could be used to steal funds or compromise other kinds of cross-chain applications.

Patches

This vulnerability has been fixed in the latest version of ismp-granpda v15.0.1

Recommendations

Users who rely on the compromised versions must upgrade immediately, as all vulnerable versions of the crate has been yanked.

Advisory Timeline

  • First published January 28, 2025 (667 days ago).
  • Last revised January 28, 2025 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Cargo
Update grandpa-verifier-primitives to 0.1.2 or later
cargo update -p grandpa-verifier-primitives --precise 0.1.2
Cargo
Update grandpa-verifier to 0.1.2 or later
cargo update -p grandpa-verifier --precise 0.1.2
Cargo
Update ismp-grandpa to 15.0.1 or later
cargo update -p ismp-grandpa --precise 15.0.1

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: crates.io (3).

PackageFixed In
grandpa-verifier-primitives crates.io · Affected: All versions0.1.2
grandpa-verifier crates.io · Affected: All versions0.1.2
ismp-grandpa crates.io · Affected: All versions15.0.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-347
    Improper Verification of Cryptographic SignatureMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
—
Confidentiality
—
Integrity
—
Availability
—

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Frequently Asked Questions

What is CVE-2025-24800?
ismp-grandpa crate accepted incorrect signatures. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.1/10).
How do I check if my project is affected by CVE-2025-24800?
CVE-2025-24800 affects grandpa-verifier-primitives, grandpa-verifier and ismp-grandpa. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-24800 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.1

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
0.57%
EPSS percentile: 40.8

This is a below-median EPSS score — only 40.8% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-wwx5-gpgr-vxr7

Related CVEs

  • RUSTSEC-2026-0501
    CRITICAL

    Shamir backup recovery accepts a share at x = 0, so a supplied share can substitute the recovered private key

  • CVE-2026-69157
    CRITICAL

    Atomic Server: Unauthenticated `/setup` invite grants write access to the entire Drive

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Cargo.lock