Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:FrontRunner
libvirt.11701
CVE-2019-10166-api-disallow-virDomainManagedSav...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2019-10166-api-disallow-virDomainManagedSaveDefineXML.patch of Package libvirt.11701
From 6c937eeb65e2cc605bda7060a5bd0ba24c80cbb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Tomko?= <jtomko@redhat.com> Date: Fri, 14 Jun 2019 10:37:32 +0200 Subject: [PATCH 2/4] api: disallow virDomainManagedSaveDefineXML on read-only connections MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The virDomainManagedSaveDefineXML can be used to alter the domain's config used for managedsave or even execute arbitrary emulator binaries. Forbid it on read-only connections. Fixes: CVE-2019-10166 Reported-by: Matthias Gerstner <mgerstner@suse.de> Signed-off-by: Ján Tomko <jtomko@redhat.com> --- src/libvirt-domain.c | 1 + 1 file changed, 1 insertion(+) Index: libvirt-4.0.0/src/libvirt-domain.c =================================================================== --- libvirt-4.0.0.orig/src/libvirt-domain.c +++ libvirt-4.0.0/src/libvirt-domain.c @@ -9426,6 +9426,7 @@ virDomainManagedSaveDefineXML(virDomainP virCheckDomainReturn(domain, -1); conn = domain->conn; + virCheckReadOnlyGoto(conn->flags, error); if (conn->driver->domainManagedSaveDefineXML) { int ret;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor