Bug 1257735 (CVE-2015-5239)

Summary: CVE-2015-5239 qemu-kvm: Integer overflow in vnc_client_read() and protocol_client_msg()
Product: [Other] Security Response Reporter: Kurt Seifried <kseifried>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abaron, acathrow, apevec, areis, ayoung, bmcclain, chrisw, cvsbot-xmlrpc, dallan, dblechte, fdeutsch, gkotton, idith, jen, jjoyce, jschluet, kbasil, knoel, lhh, lpeer, lsurette, markmc, michal.skrivanek, mkenneth, mrezanin, mst, pbonzini, ppandit, pstehlik, rbryant, sclewis, security-response-team, slong, srevivo, tdecacqu, virt-maint, ycui, ykaul
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
An integer overflow issue was found in the VNC display driver of the QEMU emulator, which could be used by a privileged guest user to create a denial of service attack. The overflow occurred when processing a CLIENT_CUT_TEXT message with too large a payload size. The integer overflow led to an infinite loop inside the VNC driver, eventually crashing the QEMU process on the host.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 02:43:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1259504    
Bug Blocks: 1255421    

Description Kurt Seifried 2015-08-27 19:35:57 UTC
Qemu emulator built with the VNC display driver is vulnerable to an infinite loop issue. It could occur while processing a CLIENT_CUT_TEXT message with specially crafted payload message.

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

Upstream fix:
-------------
  -> git.qemu.org/?p=qemu.git;a=commit;h=f9a70e79391f6d7c2a912d785239ee8effc1922d

Comment 1 Prasad Pandit 2015-09-02 19:23:16 UTC
Statement: 

This issue affects the versions of kvm and xen packages as shipped with Red Hat Enterprise Linux 5.

This issue affects the versions of the qemu-kvm packages as shipped with Red Hat Enterprise Linux 6 and 7.

This issue affects the Red Hat Enterprise Linux 6 based versions of qemu-kvm-rhev packages as shipped with Red Hat Enterprise Virtualization 3.

This issue affect the Red Hat Enterprise Linux 7 based versions of the qemu-kvm-rhev packages as shipped with Red Hat Enterprise Virtualization 3.

Comment 2 Prasad Pandit 2015-09-02 19:24:11 UTC
This has been rated as having Moderate security impact and is not currently
planned to be addressed in future updates. For additional information, refer
to the Red Hat Enterprise Linux Life Cycle:
https://access.redhat.com/support/policy/updates/errata/.

Comment 3 Prasad Pandit 2015-09-02 19:26:42 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1259504]

Comment 5 Adam Mariš 2015-09-07 08:29:22 UTC
Acknowledgements:

Red Hat would like to thank Lian Yihan of Qihoo 360 for reporting this issue.

Comment 6 Adam Mariš 2015-09-07 08:30:34 UTC
Public via:

http://seclists.org/oss-sec/2015/q3/478

Comment 7 Fedora Update System 2015-10-03 17:33:58 UTC
xen-4.5.1-9.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2015-10-04 22:49:57 UTC
xen-4.5.1-9.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-10-04 23:19:12 UTC
xen-4.4.3-4.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.