Bug 1007330 (CVE-2013-4344)

Summary: CVE-2013-4344 qemu: buffer overflow in scsi_target_emulate_report_luns
Product: [Other] Security Response Reporter: Petr Matousek <pmatouse>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: areis, ehabkost, knoel, lersek, mkenneth, mtosatti, pbonzini, security-response-team, vrozenfe
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-20 10:40:38 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: 1007331, 1007332, 1007334, 1015274, 1015275, 1130605    
Bug Blocks: 1007342, 1030218    

Description Petr Matousek 2013-09-12 09:46:43 UTC
A buffer overflow flaw was found in the way qemu processed SCSI REPORT LUNS command when excessive LUNS were defined for a single SCSI target.

A privileged guest user could use this flaw to corrupt qemu process memory on the host, which could potentially result in arbitrary code execution on the host with the privileges of the qemu process.

Acknowledgements:

This issue was discovered by Asias He of Red Hat.

Comment 2 Petr Matousek 2013-09-12 09:54:39 UTC
Statement:

This issue does not affect the kvm and xen packages as shipped with Red Hat Enterprise Linux 5.

This issue does affect the qemu-kvm package as shipped with Red Hat Enterprise Linux 6. Future qemu-kvm updates in Red Hat Enterprise Linux 6 may address this flaw.

Comment 3 Vincent Danen 2013-10-02 22:16:11 UTC
This is now public:

http://www.openwall.com/lists/oss-security/2013/10/02/2

Comment 4 Petr Matousek 2013-10-03 19:01:35 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1015275]

Comment 5 Petr Matousek 2013-10-03 19:01:53 UTC
Created qemu tracking bugs for this issue:

Affects: fedora-all [bug 1015274]

Comment 6 Fedora Update System 2013-10-14 07:05:50 UTC
qemu-1.4.2-12.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2013-10-14 17:08:49 UTC
qemu-1.4.2-12.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2013-10-15 06:37:26 UTC
qemu-1.6.0-10.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 errata-xmlrpc 2013-11-21 06:00:12 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

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

Comment 10 errata-xmlrpc 2013-11-22 00:37:28 UTC
This issue has been addressed in following products:

  RHEV-H and Agents for RHEL-6

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

Comment 11 errata-xmlrpc 2013-11-22 00:40:42 UTC
This issue has been addressed in following products:

  RHEV-H and Agents for RHEL-6

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