Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=2540069d4fa1795d0929f9feffe75b7024a9faca
commit 2540069d4fa1795d0929f9feffe75b7024a9faca Author: Marius Cirsta <[email protected]> Date: Tue May 12 19:23:41 2015 +0300 libvirt-1.2.15-1-x86_64 * change m8r * version bump diff --git a/source/xlib-extra/libvirt/CVE-2014-7823.patch b/source/xlib-extra/libvirt/CVE-2014-7823.patch deleted file mode 100644 index c9c46da..0000000 --- a/source/xlib-extra/libvirt/CVE-2014-7823.patch +++ /dev/null @@ -1,62 +0,0 @@ -Backport of: - -From b1674ad5a97441b7e1bd5f5ebaff498ef2fbb11b Mon Sep 17 00:00:00 2001 -From: Eric Blake <[email protected]> -Date: Fri, 31 Oct 2014 22:14:07 -0600 -Subject: [PATCH] CVE-2014-7823: dumpxml: security hole with migratable flag - -Commit 28f8dfd (v1.0.0) introduced a security hole: in at least -the qemu implementation of virDomainGetXMLDesc, the use of the -flag VIR_DOMAIN_XML_MIGRATABLE (which is usable from a read-only -connection) triggers the implicit use of VIR_DOMAIN_XML_SECURE -prior to calling qemuDomainFormatXML. However, the use of -VIR_DOMAIN_XML_SECURE is supposed to be restricted to read-write -clients only. This patch treats the migratable flag as requiring -the same permissions, rather than analyzing what might break if -migratable xml no longer includes secret information. - -Fortunately, the information leak is low-risk: all that is gated -by the VIR_DOMAIN_XML_SECURE flag is the VNC connection password; -but VNC passwords are already weak (FIPS forbids their use, and -on a non-FIPS machine, anyone stupid enough to trust a max-8-byte -password sent in plaintext over the network deserves what they -get). SPICE offers better security than VNC, and all other -secrets are properly protected by use of virSecret associations -rather than direct output in domain XML. - -* src/remote/remote_protocol.x (REMOTE_PROC_DOMAIN_GET_XML_DESC): -Tighten rules on use of migratable flag. -* src/libvirt-domain.c (virDomainGetXMLDesc): Likewise. - -Signed-off-by: Eric Blake <[email protected]> ---- - src/libvirt-domain.c | 3 ++- - src/remote/remote_protocol.x | 1 + - 2 files changed, 3 insertions(+), 1 deletions(-) - -Index: libvirt-1.2.8/src/libvirt.c -=================================================================== ---- libvirt-1.2.8.orig/src/libvirt.c 2014-11-10 13:34:17.916556117 -0500 -+++ libvirt-1.2.8/src/libvirt.c 2014-11-10 13:35:48.097723569 -0500 -@@ -4373,7 +4373,8 @@ - virCheckDomainReturn(domain, NULL); - conn = domain->conn; - -- if ((conn->flags & VIR_CONNECT_RO) && (flags & VIR_DOMAIN_XML_SECURE)) { -+ if ((conn->flags & VIR_CONNECT_RO) && -+ (flags & (VIR_DOMAIN_XML_SECURE | VIR_DOMAIN_XML_MIGRATABLE))) { - virReportError(VIR_ERR_OPERATION_DENIED, "%s", - _("virDomainGetXMLDesc with secure flag")); - goto error; -Index: libvirt-1.2.8/src/remote/remote_protocol.x -=================================================================== ---- libvirt-1.2.8.orig/src/remote/remote_protocol.x 2014-08-29 08:22:31.000000000 -0400 -+++ libvirt-1.2.8/src/remote/remote_protocol.x 2014-11-10 13:36:23.526188341 -0500 -@@ -3224,6 +3224,7 @@ - * @generate: both - * @acl: domain:read - * @acl: domain:read_secure:VIR_DOMAIN_XML_SECURE -+ * @acl: domain:read_secure:VIR_DOMAIN_XML_MIGRATABLE - */ - REMOTE_PROC_DOMAIN_GET_XML_DESC = 14, - diff --git a/source/xlib-extra/libvirt/FrugalBuild b/source/xlib-extra/libvirt/FrugalBuild index 14418c7..6386e15 100644 --- a/source/xlib-extra/libvirt/FrugalBuild +++ b/source/xlib-extra/libvirt/FrugalBuild @@ -1,12 +1,13 @@ # Compiling Time: 3.83 SBU # Contributor: kikadf <[email protected]> # Contributor: jercel <[email protected]> +# Maintainer: Marius Cirsta <[email protected]> options+=('asneeded') pkgname=libvirt -pkgver=1.2.9 -pkgrel=2 +pkgver=1.2.15 +pkgrel=1 pkgdesc="libvirt is a library providing access to information from various virtualization tools" url="http://libvirt.org" depends=('libxml2' 'gnutls>=3.2.12.1' 'cyrus-sasl' 'parted>=3.1' \ @@ -20,7 +21,7 @@ up2date="Flasttar ftp://ftp.libvirt.org/libvirt/" backup=(etc/sysconfig/libvirtd etc/sysconfig/libvirt-guests etc/libvirt/libvirtd.conf etc/libvirt/libvirt.conf) source=(ftp://ftp.libvirt.org/$pkgname/$pkgname-$pkgver.tar.gz \ libvirt-guests fix_iptables_path.patch) -sha1sums=('f2de4cda8640b3abb13e6b30dd4882cc7e7b39e3' \ +sha1sums=('952232180b9cd05907a873532c4a74ec87f55bd4' \ '5dfe166fee4ca188dab779f842aac9868bff265b' \ '3ef036f94a6903e871e2ae8ea2b01fa81943e375') Fconfopts+=" --with-udev --with-avahi --with-init-script=systemd" @@ -28,11 +29,6 @@ Fconfopts+=" --with-udev --with-avahi --with-init-script=systemd" _F_systemd_units=(libvirtd= libvirt-guests=) Finclude systemd -# FSA fix *** -# will fix in 1.2.11 -source=(${source[@]} CVE-2014-7823.patch) -sha1sums=(${sha1sums[@]} '4638e633e89a7fa4b94f0e8fb91520ad49576701') -# *********** build() { _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
