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

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.

Technologies: Aerospike Database Server. Vendors: Aerospike.

Quick answers

Is CVE-2016-9050 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2016-9050 being exploited in the wild.
How severe is CVE-2016-9050?
High severity, with a CVSS score of 8.2, published 26 January 2017.
Which products and versions are affected?
Aerospike Aerospike Database Server 3.10.0.3.
Is there a fix for CVE-2016-9050?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2016-9050 attacked?
It is attacked over the network, in an operating system.
Am I affected by CVE-2016-9050?
Check whether you run Aerospike Database Server. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.