Nimiq core-rs-albatross
Nimiq: Remote crash via off-by-one signer bounds check in proposal buffer
nimiq/core-rs-albatross is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. Prior to version 1.3.0, an untrusted peer could crash a validator by publishing a signed tendermint proposal message where signer == validators.num_validators(). ProposalSender::send uses > instead of >= for the signer bounds check, so the equality case passes and reaches validators.get_validator_by_slot_band(signer), which panics with an out-of-bounds index before any signature verification runs. This issue has been fixed in version 1.3.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.3.0
Fixed in 1.3.0
Mitigation
Upgrade core-rs-albatross to 1.3.0 or later.
References
- Vendor advisory github.com/nimiq/core-rs-albatross/security/ad…
- Patch github.com/nimiq/core-rs-albatross/pull/3661
- Patch github.com/nimiq/core-rs-albatross/commit/9199…
1 more
- Release notes github.com/nimiq/core-rs-albatross/releases/ta…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.