CVE-2017-14316 Memory corruption in n/a

High 8.8 Published Updated

An out-of-bounds access in Xen's heap allocation allows attackers to potentially execute code or escalate privileges via crafted memory flags.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-14316?

CVE-2017-14316 is a high-severity memory corruption vulnerability in Xen Xen, published on 12 Sep 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-125

Which versions are affected by CVE-2017-14316?

It affects 1 product.

Products include Xen Xen.

How do I fix CVE-2017-14316?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2017-14316 being exploited?

There is no known exploitation of CVE-2017-14316 in the wild and no public exploit code.

All Xen Xen vulnerabilities

Sources

Also known as ALPINE-CVE-2017-14316, DEBIAN-CVE-2017-14316, GHSA-9pmq-32g5-2h85, UBUNTU-CVE-2017-14316.

Is CVE-2017-14316 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free