CVE-2017-14316
published 2017-09-12CVE-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…
PriorityP342high8.8CVSS 3.0
AVLACLPRLUINSCCHIHAH
EPSS
0.41%
33.2th percentile
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.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | xen | < xen 4.8.2+xsa245-0+deb9u1 (bookworm) | xen 4.8.2+xsa245-0+deb9u1 (bookworm) |
| xen | xen | <= 4.9.0 | — |
| xen | xen | >= 0 < 4.8.2+xsa245-0+deb9u1 | 4.8.2+xsa245-0+deb9u1 |
| xen | xen | >= 0 < 4.8.2+xsa245-0+deb9u1 | 4.8.2+xsa245-0+deb9u1 |
| xen | xen | >= 0 < 4.8.2+xsa245-0+deb9u1 | 4.8.2+xsa245-0+deb9u1 |
| xen | xen | >= 0 < 4.8.2+xsa245-0+deb9u1 | 4.8.2+xsa245-0+deb9u1 |
CVSS provenance
nvdv3.08.8HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
nvdv2.07.2HIGHAV:L/AC:L/Au:N/C:C/I:C/A:C
osv8.8HIGH
vendor_debian8.8HIGH
vendor_redhat8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-9pmq-32g5-2h85: A parameter verification issue was discovered in Xen through 4
ghsa_unreviewed·2022-05-14
CVE-2017-14316 [HIGH] CWE-125 GHSA-9pmq-32g5-2h85: A parameter verification issue was discovered in Xen through 4
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.
OSV
CVE-2017-14316: A parameter verification issue was discovered in Xen through 4
osv·2017-09-12·CVSS 8.8
CVE-2017-14316 [HIGH] CVE-2017-14316: A parameter verification issue was discovered in Xen through 4
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.
Red Hat
xen: Missing NUMA node parameter verification (XSA-231)
vendor_redhat·2017-09-12·CVSS 8.8
CVE-2017-14316 [HIGH] xen: Missing NUMA node parameter verification (XSA-231)
xen: Missing NUMA node parameter verification (XSA-231)
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.
Package: xen (Red Hat Enterprise Linux 5) - Will not fix
Debian
CVE-2017-14316: xen - A parameter verification issue was discovered in Xen through 4.9.x. The function...
vendor_debian·2017·CVSS 8.8
CVE-2017-14316 [HIGH] CVE-2017-14316: xen - A parameter verification issue was discovered in Xen through 4.9.x. The function...
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.
Scope: local
bookworm: resolved (fixed in 4.8.2+xsa245-0+deb9u1)
bullseye: resolved (fixed in 4.8.2+xsa245-0+deb9u1)
forky: resolved (fixed in 4.8.2+xsa245-0+deb9u1)
sid: resolved (fixed in 4.8.2+xsa245-0+deb9u1)
trixie: resolved (fixed in 4.8.2+xsa245-0+deb9u1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-14316 CVE-2017-14317 CVE-2017-14318 CVE-2017-14319 xen: various flaws [fedora-all]
bugzilla·2017-09-12·CVSS 8.8
CVE-2017-14316 [HIGH] CVE-2017-14316 CVE-2017-14317 CVE-2017-14318 CVE-2017-14319 xen: various flaws [fedora-all]
CVE-2017-14316 CVE-2017-14317 CVE-2017-14318 CVE-2017-14319 xen: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supp
Bugzilla
CVE-2017-14316 xsa231 xen: Missing NUMA node parameter verification (XSA-231)
bugzilla·2017-08-30·CVSS 8.8
CVE-2017-14316 [HIGH] CVE-2017-14316 xsa231 xen: Missing NUMA node parameter verification (XSA-231)
CVE-2017-14316 xsa231 xen: Missing NUMA node parameter verification (XSA-231)
ISSUE DESCRIPTION
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.
IMPACT
An attacker using crafted hypercalls can execute arbitrary code within
Xen.
VULNERABLE SYSTEMS
All versions of Xen are affected.
Both ARM and x86 are affected.
Both systems running HVM guests and system running PV guests are
affected.
MITIGATION
No known mitigation.
Ext
http://www.securityfocus.com/bid/100818http://www.securitytracker.com/id/1039348http://xenbits.xen.org/xsa/advisory-231.htmlhttps://lists.debian.org/debian-lts-announce/2018/10/msg00009.htmlhttps://support.citrix.com/article/CTX227185https://www.debian.org/security/2017/dsa-4050http://www.securityfocus.com/bid/100818http://www.securitytracker.com/id/1039348http://xenbits.xen.org/xsa/advisory-231.htmlhttps://lists.debian.org/debian-lts-announce/2018/10/msg00009.htmlhttps://support.citrix.com/article/CTX227185https://www.debian.org/security/2017/dsa-4050
2017-09-12
Published