zebra-rpc is vulnerable to Denial of Service (DoS)
53
CVE Score
Medium
Denial of Service (DoS)
The verbosity-2 branch of the getblock RPC builds each transaction object by converting the block's confirmations value into an unsigned integer with an unchecked expectation. For a block that is not on the best chain the confirmations value is a negative sentinel, so the conversion fails and the process aborts because the build treats panics as aborts. A caller that can reach getblock, including indirectly through lightwalletd, can crash the node with a single verbosity-2 call against a side-chain block and repeat it to keep the node down. The fix carries the confirmations value without the failing narrowing conversion.
Upgrade the zebra-rpc library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you expose the getblock RPC to untrusted input, directly or through lightwalletd.
0.0.1 - 10.0.1
Fixed in 11.0.0zebra-rpc is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 10.0.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.