Bug 962322 - (CVE-2013-2072) CVE-2013-2072 xen: Buffer overflow in xencontrol Python bindings affecting xend
CVE-2013-2072 xen: Buffer overflow in xencontrol Python bindings affecting xend
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 964241
Blocks: 962327
  Show dependency treegraph
Reported: 2013-05-13 04:07 EDT by Petr Matousek
Modified: 2013-05-17 11:50 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-05-13 04:10:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Petr Matousek 2013-05-13 04:07:41 EDT
The Python bindings for the xc_vcpu_setaffinity call do not properly check their inputs. Systems which allow untrusted administrators to configure guest vcpu affinity may be exploited to trigger a buffer
overrun and corrupt memory.

An attacker who is able to configure a specific vcpu affinity via a toolstack which uses the Python bindings is able to exploit this issue.

Exploiting this issue leads to memory corruption which may result in a DoS against the system by crashing the toolstack. The possibility of code execution (privilege escalation) has not been ruled out.

The xend toolstack passes a cpumap to this function without sanitization. xend allows the cpumap to be configured via the guest configuration file or the SXP/XenAPI interface. Normally these interfaces are not considered safe to expose to non-trusted parties. However systems which attempt to allow guest administrator control of VCPU affinity in a safe way via xend may expose this issue.


This issue was discovered by Paolo Bonzini and Laszlo Ersek of Red Hat.
Comment 2 Petr Matousek 2013-05-13 04:10:30 EDT

Not vulnerable.

This issue does not affect the versions of the xen package as shipped with Red Hat Enterprise Linux 5.
Comment 3 Petr Matousek 2013-05-17 11:50:50 EDT
Created xen tracking bugs for this issue

Affects: fedora-all [bug 964241]

Note You need to log in before you can comment on or make changes to this bug.