Out-of-bounds Read in Xen

CVE-2017-14316

A parameter verification issue was discovered in Xen through 4.9.x. The function `alloc_heap_pages` allows callers to specify the first NUMA node that should be used for allocations through the `memflags` parameter; the node is extracted using the `MEMF_get_node` macro. While the function checks to see if the special constant `NUMA_NO_NODE` is specified, it otherwise does not handle the case where `node >= MAX_NUMNODES`. This allows an out-of-bounds access to an internal array.

Vulnerability class: Buffer Overflow

EPSS: 0.004 (33.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.

Affected products

  • Xen
  • N/a — versions n/a

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2017-14316?
CVE-2017-14316 is a high-severity vulnerability in Xen, classified under Out-of-bounds Read. CVSS score: 8.8/10. Published 2017-09-12.
How severe is CVE-2017-14316?
High severity. CVSS v3 base score is 8.8 out of 10.