Skip to content
Memory corruption Advisory Advanced CVE-2016-9050

Aerospike Database Server Client Message Memory Disclosure Vulnerability

An out-of-bounds read in Aerospike Database Server's client message parsing allows an attacker to disclose memory or cause a denial of service by sending a specially crafted packet with a short digest field.

the Cisco Talos Team Follow

Originally disclosed on Cisco Talos

High 8.2 View original

An exploitable out-of-bounds read vulnerability exists in the client message-parsing functionality of Aerospike Database Server 3.10.0.3. A specially crafted packet can cause an out-of-bounds read resulting in disclosure of memory within the process, the same vulnerability can also be used to trigger a denial of…

the Cisco Talos Team, on Cisco Talos

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 as_msg_peek function does not validate the minimum size of the DIGEST_RIPE field before casting its data to a fixed-size digest structure, leading to an out-of-bounds read.

Impact

An attacker could disclose memory contents or cause a denial of service; the CVSS score reflects high availability impact and low confidentiality impact.

What the attacker needed

Network access to the Aerospike port; use_queue_per_device enabled; namespace configured for data-not-in-memory

How it was found

  1. Connect to the Aerospike server port.
  2. Send a packet with protocol type AS_MSG and a data section containing a NAMESPACE field and a DIGEST_RIPE field whose data length is between 1 and 7 bytes.
  3. The server processes the packet and reads beyond the digest field, disclosing memory or crashing.

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 reads a fixed-size piece of data (a digest) from a network packet without first checking that the packet actually contains enough bytes. If an attacker sends a packet with a shorter digest, the server reads past the end of the buffer, leaking nearby memory or crashing the service.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by the Cisco Talos Team

View all

7 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.