Description
BSV Ruby SDK is the Ruby SDK for the BSV blockchain. From 0.1.0 to before 0.8.2, BSV::Network::ARC's failure detection only recognises REJECTED and DOUBLE_SPEND_ATTEMPTED. ARC responses with txStatus values of INVALID, MALFORMED, MINED_IN_STALE_BLOCK, or any ORPHAN-containing extraInfo / txStatus are silently treated as successful broadcasts. Applications that gate actions on broadcaster success are tricked into trusting transactions that were never accepted by the network. This vulnerability is fixed in 0.8.2.
Problem types
CWE-754: Improper Check for Unusual or Exceptional Conditions
Product status
References
github.com/...by-sdk/security/advisories/GHSA-9hfr-gw99-8rhx
github.com/sgbett/bsv-ruby-sdk/issues/305
github.com/sgbett/bsv-ruby-sdk/pull/306
github.com/...ommit/4992e8a265fd914a7eeb0405c69d1ff0122a84cc
github.com/sgbett/bsv-ruby-sdk/releases/tag/v0.8.2