Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 556050

Summary: <app-emulation/qemu-2.3.0-r4: ide: atapi: heap overflow during I/O buffer memory access (CVE-2015-5154)
Product: Gentoo Security Reporter: Agostino Sarubbo <ago>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: normal CC: qemu+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=1243563
Whiteboard: B2 [glsa]
Package list:
Runtime testing required: ---
Bug Depends on: 556052    
Bug Blocks:    

Description Agostino Sarubbo gentoo-dev 2015-07-27 15:04:54 UTC
From ${URL} :

A heap overflow flaw was found in the way QEMU's IDE subsystem
handled I/O buffer access while processing certain ATAPI commands.

A privileged guest user in a guest with CDROM drive enabled could
potentially use this flaw to execute arbitrary code on the host
with the privileges of the host's QEMU process corresponding to
the guest.

This issue was introduced via QEMU upstream commit 
http://git.qemu.org/?p=qemu.git;a=commit;h=ce560dcf .

Upstream QEMU patch(es) submission:

https://lists.gnu.org/archive/html/qemu-devel/2015-07/msg05162.html


@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2015-07-27 18:31:16 UTC
This is actually #555532.
Comment 2 Kristian Fiskerstrand (RETIRED) gentoo-dev 2015-07-27 18:37:19 UTC

*** This bug has been marked as a duplicate of bug 555532 ***
Comment 3 Doug Goldstein (RETIRED) gentoo-dev 2015-07-27 19:33:11 UTC
addressed in qemu-2.3.0-r4
Comment 4 Agostino Sarubbo gentoo-dev 2015-07-27 19:50:14 UTC
(In reply to Kristian Fiskerstrand from comment #2)
> 
> *** This bug has been marked as a duplicate of bug 555532 ***

I don't really understand why this is a duplicate. The bug is in the qemu code, which is present in both qemu and xen.
Usually, in case like this we open more than one bug to better track each package separately.
Comment 5 GLSAMaker/CVETool Bot gentoo-dev 2015-10-31 15:07:07 UTC
This issue was resolved and addressed in
 GLSA 201510-02 at https://security.gentoo.org/glsa/201510-02
by GLSA coordinator Kristian Fiskerstrand (K_F).