Aerospike Database Server Fabric-Worker Socket-Loop Denial-of-Service Vulnerability
A missing check on the result of a memory allocation in the fabric-worker component allows a remote attacker to cause a null pointer dereference by sending a packet with a large size field. This crashes the server process, resulting in denial of service.
Originally disclosed on Cisco Talos
An exploitable denial-of-service vulnerability exists in the fabric-worker component of Aerospike Database Server 3.10.0.3. A specially crafted packet can cause the server process to dereference a null pointer.
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
Likely the code fails to check whether cf_malloc returned NULL before using the pointer in a memcpy.
Impact
A remote unauthenticated attacker can crash the server process, causing a denial of service.
What the attacker needed
Network access to port 3001/TCP
How it was found
- Connect to the fabric port (3001/TCP) on the target server.
- Send a packet with a header containing a size field larger than 0x100000.
- Keep the connection open briefly; the server attempts a large allocation that fails, then crashes.
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.
The server tries to reserve memory for an incoming message but does not check if the reservation succeeded. When the request is too large, the reservation fails and the server writes to an invalid memory address, crashing the program. An attacker can trigger this by sending a single crafted network packet.
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.