Bug 1809740 (CVE-2019-20485)

Summary: CVE-2019-20485 libvirt: Potential DoS by holding a monitor job while querying QEMU guest-agent
Product: [Other] Security Response Reporter: Prasad Pandit <ppandit>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: agedosier, berrange, clalancette, eblake, itamar, jdenemar, jforbes, jmaloy, jsuchane, knoel, laine, libvirt-maint, pkrempa, veillard, virt-maint, virt-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libvirt-6.0.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the way the libvirtd daemon issued the 'suspend' command to a QEMU guest-agent running inside a guest, where it holds a monitor job while issuing the 'suspend' command to a guest-agent. A malicious guest-agent may use this flaw to block the libvirt daemon indefinitely, resulting in a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-29 21:59:58 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: 1759566, 1809741, 1809743, 1809744, 1809745    
Bug Blocks: 1809535    

Description Prasad Pandit 2020-03-03 19:22:00 UTC
A flaw was found in the way Libvirtd daemon issued the 'suspend' command to a QEMU guest-agent running inside a guest. It holds a monitor job while issuing the 'suspend' command to a guest-agent. A malicious guest-agent may use this flaw to block the Libvirt daemon indefinitely resulting in a DoS scenario.

Upstream patch:
---------------
  -> https://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=a663a860819287e041c3de672aad1d8543098ecc

Comment 1 Prasad Pandit 2020-03-03 19:22:34 UTC
Created libvirt tracking bugs for this issue:

Affects: fedora-all [bug 1809741]

Comment 3 Prasad Pandit 2020-03-03 19:33:18 UTC
Acknowledgments:

Name: Eric Blake (Red Hat Inc.)

Comment 4 Prasad Pandit 2020-03-04 05:49:08 UTC
Statement:

This issue affects the version of the libvirt package as shipped with Red Hat Enterprise Linux 7, 8 and Red Hat Enterprise Linux Advanced Virtualization 8. Future libvirt updates for Red Hat Enterprise Linux 7, 8 and Red Hat Enterprise Linux Advanced Virtualization 8 may address this issue.

Red Hat Enterprise Linux version 5 and 6 are in Maintenance Support 2 Phase of the life cycle. This issue has been rated as having Moderate security impact and is not currently planned to be addressed in future updates of the Red Hat Enterprise Linux version 5 and 6. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

Comment 5 errata-xmlrpc 2020-09-29 20:28:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:4000 https://access.redhat.com/errata/RHSA-2020:4000

Comment 6 Product Security DevOps Team 2020-09-29 21:59:58 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-20485

Comment 7 errata-xmlrpc 2020-11-04 02:52:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4676 https://access.redhat.com/errata/RHSA-2020:4676