Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533286 (CVE-2014-8135) - <app-emulation/libvirt-{1.2.10-r3,1.2.11-r2}: two DoS (CVE-2014-{8135,8136})
Summary: <app-emulation/libvirt-{1.2.10-r3,1.2.11-r2}: two DoS (CVE-2014-{8135,8136})
Status: RESOLVED FIXED
Alias: CVE-2014-8135
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL:
Whiteboard: B3 [glsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-22 13:39 UTC by Agostino Sarubbo
Modified: 2014-12-24 21:11 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2014-12-22 13:39:26 UTC
From https://bugzilla.redhat.com/show_bug.cgi?id=1176182:

Common Vulnerabilities and Exposures assigned an identifier CVE-2014-8135 to
the following vulnerability:

Name: CVE-2014-8135
URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-8135
Assigned: 20141010
Reference: http://secunia.com/advisories/61111

The storageVolUpload function in storage/storage_driver.c in libvirt
does not check a certain return value, which allows local users to
cause a denial of service (NULL pointer dereference and daemon crash)
via a crafted offset value in a "virsh vol-upload" command.

Upstream commit that addresses this issue:
http://libvirt.org/git/?p=libvirt.git;a=commit;h=87b9437f8951f9d24f9a85c6bbfff0e54df8c984




From https://bugzilla.redhat.com/show_bug.cgi?id=1176176:

Common Vulnerabilities and Exposures assigned an identifier CVE-2014-8136 to
the following vulnerability:

Name: CVE-2014-8136
URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-8136
Assigned: 20141010
Reference: http://secunia.com/advisories/61111

The (1) qemuDomainMigratePerform and (2) qemuDomainMigrateFinish2
functions in qemu/qemu_driver.c in libvirt do not unlock the domain
when an ACL check fails, which allow local users to cause a denial of
service via unspecified vectors.

Upstream commit that addresses this:
http://libvirt.org/git/?p=libvirt.git;a=commit;h=2bdcd29c713dfedd813c89f56ae98f6f3898313d


@maintainer(s): since the fixed package is already in the tree, please let us know if it is ready for the stabilization or not.
Comment 1 Matthias Maier gentoo-dev 2014-12-23 22:23:35 UTC
Agostino, you're fast :-)

The official announcement on the libvir mailing list came just now and this bug is already open for more than 24h. (I've read the bug tracker mail yesterday but totally forgot about it...)


*libvirt-1.2.10-r3 (23 Dec 2014)

  23 Dec 2014; Matthias Maier <tamiko@gentoo.org> +libvirt-1.2.10-r3.ebuild,
  -files/libvirt-1.2.9-cve-2014-7823.patch:
  maintain upstream libvirt patches in own github repository; apply patches for
  CVE-2014-8135, CVE-2014-8136

This is fixed in: 1.2.10-r3, 1.2.11-r2
Vulnerable version in tree: 1.2.10-r2


Arches, please stabilize libvirt-1.2.10-r3, best along with dev-python/libvirt-python-1.2.10, bug #532438 :-)

Target keywords: amd64 x86
Comment 2 Agostino Sarubbo gentoo-dev 2014-12-24 13:19:05 UTC
amd64 stable
Comment 3 Agostino Sarubbo gentoo-dev 2014-12-24 13:19:32 UTC
x86 stable.

Maintainer(s), please cleanup.
Security, please vote.
Comment 4 Yury German Gentoo Infrastructure gentoo-dev 2014-12-24 13:48:21 UTC
Arches and Maintainer(s), Thank you for your work.

GLSA Vote: Yes
Comment 5 GLSAMaker/CVETool Bot gentoo-dev 2014-12-24 13:50:18 UTC
CVE-2014-8135 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-8135):
  The storageVolUpload function in storage/storage_driver.c in libvirt does
  not check a certain return value, which allows local users to cause a denial
  of service (NULL pointer dereference and daemon crash) via a crafted offset
  value in a "virsh vol-upload" command.
Comment 6 Kristian Fiskerstrand (RETIRED) gentoo-dev 2014-12-24 14:20:34 UTC
GLSA Vote: Yes

Created new request
Comment 7 Matthias Maier gentoo-dev 2014-12-24 15:06:06 UTC
  24 Dec 2014; Matthias Maier <tamiko@gentoo.org> -libvirt-1.2.10-r2.ebuild:
  drop vulnerable, bug #533286, CVE-2014-8135, CVE-2014-8136
Comment 8 GLSAMaker/CVETool Bot gentoo-dev 2014-12-24 20:22:08 UTC
CVE-2014-8136 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2014-8136):
  The (1) qemuDomainMigratePerform and (2) qemuDomainMigrateFinish2 functions
  in qemu/qemu_driver.c in libvirt do not unlock the domain when an ACL check
  fails, which allow local users to cause a denial of service via unspecified
  vectors.
Comment 9 GLSAMaker/CVETool Bot gentoo-dev 2014-12-24 21:11:48 UTC
This issue was resolved and addressed in
 GLSA 201412-36 at http://security.gentoo.org/glsa/glsa-201412-36.xml
by GLSA coordinator Kristian Fiskerstrand (K_F).