Tarantool Key-type Denial Of Service Vulnerability
The xrow_header_decode function in Tarantool uses an integer key from a MsgPack packet as an index into a global array without checking bounds, causing an out-of-bounds read. An attacker can send a crafted packet to crash the server, resulting in denial of service.
Originally disclosed on Cisco Talos
An exploitable out-of-bounds array access vulnerability exists in the xrowheaderdecode function of Tarantool 1.7.2.0-g8e92715. A specially crafted packet can cause the function to access an element outside the bounds of a global array that is used to determine the type of the specified key’s value.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The code uses an attacker-controlled integer as an array index without validating that it is within the array's bounds.
Impact
An attacker can cause a denial of service by crashing the server.
What the attacker needed
Network access to the Tarantool port
How it was found
- Start the Tarantool server listening on a TCP port.
- Connect to the server and receive the initial greeting.
- Send a MsgPack-encoded packet whose header map contains a key larger than the array size.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Tarantool is a server that stores data in memory. It reads messages from the network and uses a number from the message to look up a value in a fixed-size list. If the number is too large, the server reads past the end of the list and crashes, so anyone who can send a message can take the server down.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.