GHSA-mj2m-jxgv-r446: KVStoreInterpreter::verify_signature_legacy answers true for every token and every key
Published 2026-11-13 · Updated 2026-11-13 · Also known as RUSTSEC-2026-0529
Summary
The KVStoreInterpreter::verify_signature_legacy function in bsv-rs erroneously returns true for all inputs regardless of the provided token or key. Developers using this deprecated function must upgrade to the specified fixed versions to ensure cryptographic signatures are properly validated.
Who is affected
Applications using this function to verify KVStore tokens provided by untrusted sources, such as peer-provided transaction outputs or overlay lookups, will incorrectly accept forged or invalid tokens. This allows an attacker to bypass authentication and falsely attribute tokens to any controller, leading to potential integrity compromises. The vulnerability affects all 63 published versions of the crate prior to the fixes.
Exploitability
The vulnerability is rated as High severity with a CVSS 3.1 base score of 7.5, reflecting that it is network-exploitable with low complexity and requires no privileges or user interaction. CISA KEV data indicates no evidence of active exploitation, and EPSS data is not available.
Remediation
- Upgrade bsv-rs to version 0.8.9 or later for the 0.8.x line.
- Upgrade bsv-rs to the next prerelease following 0.9.0-beta.7 for the 0.9.x line.
How to check your project
- Check Cargo.toml or Cargo.lock files to identify dependencies on bsv-rs versions earlier than 0.8.9 or 0.9.0-beta.7.
- Perform a code search for usages of the deprecated KVStoreInterpreter::verify_signature_legacy function, which is identified as always returning true in affected versions.
Automated analysis of the published advisory data, generated 2026-11-18. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| crates.io | bsv-rs |
>= 0.0.0-0, < 0.8.9 | 0.8.9 | cargo update -p bsv-rs --precise 0.8.9 |
| crates.io | bsv-rs |
>= 0.9.0-beta.1, < 0.9.0-beta.7.0 | 0.9.0-beta.7.0 | cargo update -p bsv-rs --precise 0.9.0-beta.7.0 |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | High |
| Availability | None |
FAQ
Is there a workaround for this issue?
No workaround is available; users must update their dependency to the provided fixed versions.
Does the crate itself use this vulnerable function?
No, the crate's internal code does not utilize this function.
What is the CWE for this vulnerability?
Not documented.
Original advisory description
References
- PACKAGE https://crates.io/crates/bsv-rs
- ADVISORY https://rustsec.org/advisories/RUSTSEC-2026-0529.html
- WEB https://github.com/Calhooon/bsv-rs/blob/v0.8.9/CHANGELOG.md
Source records: RUSTSEC-2026-0529 (OSV.dev).