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

Bug 608520 (CVE-2017-5898)

Summary: <app-emulation/qemu-2.8.0-r1: usb: integer overflow in emulated_apdu_from_guest
Product: Gentoo Security Reporter: Agostino Sarubbo <ago>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: minor CC: qemu+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=1419699
Whiteboard: B3 [glsa cve]
Package list:
Runtime testing required: ---
Bug Depends on: 608728    
Bug Blocks:    

Description Agostino Sarubbo gentoo-dev 2017-02-07 07:57:56 UTC
From ${URL} :

Quick Emulator(Qemu) built with the CCID Card device emulator support
is vulnerable to an integer overflow flaw. It could occur while passing
message via command/responses packets to and from the host.

A privileged user inside guest could use this flaw to crash the Qemu process
on host resulting in DoS.

Upstream patch:
---------------
  -> https://lists.nongnu.org/archive/html/qemu-devel/2017-02/msg01075.html

Reference:
----------
  -> http://www.openwall.com/lists/oss-security/2017/02/07/3

Commit fix:
http://git.qemu-project.org/?p=qemu.git;a=commit;h=c7dfbf322595ded4e70b626bf83158a9f3807c6a


@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 Thomas Deutschmann (RETIRED) gentoo-dev 2017-02-16 18:21:16 UTC
Added to an existing GLSA request.
Comment 2 GLSAMaker/CVETool Bot gentoo-dev 2017-02-21 00:28:21 UTC
This issue was resolved and addressed in
 GLSA 201702-28 at https://security.gentoo.org/glsa/201702-28
by GLSA coordinator Thomas Deutschmann (whissi).