Bug 854486 (CVE-2013-6436) - VUL-0: libvirt: CVE-2013-6436: Fix crash in LXC memtune code
Summary: VUL-0: libvirt: CVE-2013-6436: Fix crash in LXC memtune code
Status: RESOLVED FIXED
Alias: CVE-2013-6436
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Deadline: 2013-12-30
Assignee: Security Team bot
QA Contact: Security Team bot
URL:
Whiteboard: maint:released:sle11-sp3:55483
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-09 12:52 UTC by Sebastian Krahmer
Modified: 2014-03-24 08:36 UTC (History)
6 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Krahmer 2013-12-09 12:52:26 UTC
EMBARGOED:

Theres upcoming fix for libvirt lxc code. Dunno if the patches they
sent around are final. Do you have git access to them?

From libvirt list:

First crash (DoS) seems like a security problem due to the fact that
it can me caused even with a read-only connection.  Second one is
simply a DoS for everytone by a user who has only ACL for
SetMemoryParameters.

Martin Kletzander (2):
  security: fix crash in lxcDomainGetMemoryParameters
  security: fix crash in lxcDomainSetMemoryParameters

 src/lxc/lxc_driver.c | 153 +++++++++++++++++++++++++++++++++++++++++++--------
 1 file changed, 130 insertions(+), 23 deletions(-)
Comment 3 Swamp Workflow Management 2013-12-10 23:00:10 UTC
bugbot adjusting priority
Comment 4 James Fehlig 2013-12-13 16:37:32 UTC
FYI, Friday Dec 20 is the scheduled embargo lift date.
Comment 6 James Fehlig 2013-12-13 22:55:55 UTC
Backported both patches on the mailing list to 13.1 and SP3.  The SP3 backport was a bit tricky and I've committed it to IBS Devel:Virt:SLE-11-SP3 for broader testing.  The 13.1 backport was trivial and I'm holding it in a private repo until the embargo lifts.
Comment 7 Swamp Workflow Management 2013-12-16 10:02:11 UTC
The SWAMPID for this issue is 55482.
This issue was rated as moderate.
Please submit fixed packages until 2013-12-30.
When done, please reassign the bug to security-team@suse.de.
Patchinfo will be handled by security team.
Comment 8 James Fehlig 2013-12-20 20:51:54 UTC
Patches have been added to the affected libvirt packages and requests submitted:

SLE11 SP3: SR#30366
openSUSE13.1: MR#211903
Factory: SR#211904

Nothing left for me to do here, reassigning to the security team.
Comment 10 Bernhard Wiedemann 2013-12-20 21:00:28 UTC
This is an autogenerated message for OBS integration:
This bug (854486) was mentioned in
https://build.opensuse.org/request/show/211904 Factory / libvirt
Comment 11 Sebastian Krahmer 2013-12-23 10:28:12 UTC
went public
Comment 12 Swamp Workflow Management 2014-01-03 21:06:31 UTC
openSUSE-SU-2014:0010-1: An update that solves one vulnerability and has two fixes is now available.

Category: security (moderate)
Bug References: 854144,854486,855239
CVE References: CVE-2013-6436
Sources used:
openSUSE 13.1 (src):    libvirt-1.1.2-2.14.2
Comment 15 James Fehlig 2014-01-14 16:00:15 UTC
Hmm, come to think of it, we don't even support libvirt-lxc in SLE11.  It is provided, and folks are using it, but only the sourceforge LXC tools are supported in SLE11.  This will change in SLE12, e.g. see FATE#316352.
Comment 16 James Fehlig 2014-01-14 16:04:09 UTC
Tony, is apparmor enabled?  If so, can you disable it and see if that helps?
Comment 17 Tony Yuan 2014-01-15 05:02:22 UTC
Hi Jim,

It could work after I disabled apparmor! 

Thanks
Comment 18 James Fehlig 2014-01-15 15:11:22 UTC
Good to know, but I don't plan on adding /usr/lib/libvirt to the libvirtd apparmor profile.  No one should be using this stuff on a 32-bit host.  Why are you not testing on a 64-bit system?  That is what customers will be using.  Seems like an invalid test to me.
Comment 19 Tony Yuan 2014-01-17 09:33:25 UTC
It was tested on both 32-bit and 64-bit system. The behavior of both was the same. I just posted info about 32-bit there.

Thanks
Comment 20 Sebastian Krahmer 2014-01-20 09:22:20 UTC
.
Comment 21 Swamp Workflow Management 2014-01-30 17:54:10 UTC
Update released for: libvirt, libvirt-client, libvirt-client-32bit, libvirt-client-64bit, libvirt-client-x86, libvirt-debuginfo, libvirt-debugsource, libvirt-devel, libvirt-devel-32bit, libvirt-devel-64bit, libvirt-doc, libvirt-lock-sanlock, libvirt-python
Products:
SLE-DEBUGINFO 11-SP3 (i386, ia64, ppc64, s390x, x86_64)
SLE-DESKTOP 11-SP3 (i386, x86_64)
SLE-SDK 11-SP3 (i386, ia64, ppc64, s390x, x86_64)
SLE-SERVER 11-SP3 (i386, ia64, ppc64, s390x, x86_64)
Comment 22 Swamp Workflow Management 2014-01-30 21:05:11 UTC
SUSE-SU-2014:0162-1: An update that solves one vulnerability and has two fixes is now available.

Category: security (moderate)
Bug References: 841720,842016,854486
CVE References: CVE-2013-6436
Sources used:
SUSE Linux Enterprise Software Development Kit 11 SP3 (src):    libvirt-1.0.5.8-0.7.1
SUSE Linux Enterprise Server 11 SP3 (src):    libvirt-1.0.5.8-0.7.1
SUSE Linux Enterprise Desktop 11 SP3 (src):    libvirt-1.0.5.8-0.7.1
Comment 23 Marcus Meissner 2014-03-24 08:36:01 UTC
was released