Description
Nimiq is a Rust implementation of the Nimiq Proof-of-Stake protocol based on the Albatross consensus algorithm. Prior to version 1.4.0, iIn handle_dht_get(), the DhtResults accumulator is only initialized when the first DHT record passes verification. If the first record fails (from a malicious DHT node), DhtResults is never created, and all subsequent valid records are discarded with "DHT inconsistent state" errors. This issue has been patched in version 1.4.0.
Problem types
CWE-754: Improper Check for Unusual or Exceptional Conditions
Product status
References
github.com/...atross/security/advisories/GHSA-ccqv-2c9q-mqw5
github.com/nimiq/core-rs-albatross/pull/3707
github.com/nimiq/core-rs-albatross/releases/tag/v1.4.0