Junglewise Threat Intelligence

CVE-2016-9050: Aerospike Database Server out-of-bounds read in message parsing

CVE-2016-9050 · Severity: high · CVSS 8.2 · Published 2017-01-26

Technologies: Aerospike Database Server. Vendors: Aerospike.

Executive brief

Aerospike Database Server is a high-performance NoSQL database used for large-scale web applications. A vulnerability in how the server handles incoming client messages allows an attacker to read sensitive information from the server's memory or crash the database service entirely. This could lead to the exposure of private data or a significant disruption of business operations. An attacker can exploit this remotely without needing any login credentials.

Technical details

An out-of-bounds read vulnerability (CWE-125/CWE-129) exists in the client message-parsing functionality of Aerospike Database Server 3.10.0.3. The vulnerability is located in the `as_msg_peek` function within `base/proto.c`, which fails to validate the size of the `AS_MSG_FIELD_TYPE_DIGEST_RIPE` field before copying it into a `cf_digest` structure. When the server is configured with `use_queue_per_device`, it attempts to access the 9th byte of this digest to determine the target queue. An attacker can send a truncated packet that causes the server to read beyond the allocated buffer, leading to memory disclosure or a process crash (DoS). This attack is reachable over the network without authentication by connecting to the database port.

Affected products

  • Aerospike Aerospike Database Server 3.10.0.3

Timeline

  • 2016-11-20: other: Vulnerability reported to vendor by Cisco Talos
  • 2017-01-09: advisory: Cisco Talos published advisory TALOS-2016-0264
  • 2017-01-26: disclosed: CVE-2016-9050 published to NVD

References

Related threats