Bug 870412 (CVE-2012-4544)

Summary: CVE-2012-4544 xen: Xen domain builder Out-of-memory due to malicious kernel/ramdisk
Product: [Other] Security Response Reporter: Petr Matousek <pmatouse>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: drjones, imammedo, jforbes, jrusnack, kraxel, leiwang, lersek, m.a.young, mrezanin, pbonzini, tburke, virt-maint, wshi, xen-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=moderate,public=20121026,reported=20121026,source=upstream,cvss2=2.7/AV:A/AC:L/Au:S/C:N/I:N/A:P,rhel-5.10/xen=affected,rhel-5.9.z/xen=affected,fedora-all/xen=affected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-24 09:56:45 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 870413, 870414, 876997    
Bug Blocks: 870415, 903143    

Description Petr Matousek 2012-10-26 08:25:42 EDT
The Xen PV domain builder contained no validation of the size of the supplied kernel or ramdisk either before or after decompression. This could cause the toolstack to consume all available RAM in the domain running the domain builder.

A malicious guest administrator who can supply a kernel or ramdisk can exhaust memory in domain 0 leading to a denial of service attack.

HVM guests are not affected by this vulnerability.

Reference:
http://lists.xen.org/archives/html/xen-devel/2012-10/msg02015.html
http://www.openwall.com/lists/oss-security/2012/10/26/3

Acknowledgements:

Red Hat would like to thank the Xen project for reporting this issue.
Comment 2 Petr Matousek 2012-10-26 08:28:55 EDT
Created xen tracking bugs for this issue

Affects: fedora-all [bug 870414]
Comment 6 errata-xmlrpc 2013-02-07 13:54:25 EST
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2013:0241 https://rhn.redhat.com/errata/RHSA-2013-0241.html