Ubuntu Security Notice 2675-1 - Roman Fiedler discovered that LXC had a directory traversal flaw when creating lock files. A local attacker could exploit this flaw to create an arbitrary file as the root user. Roman Fiedler discovered that LXC incorrectly trusted the container's proc filesystem to set up AppArmor profile changes and SELinux domain transitions. A local attacker could exploit this flaw to run programs inside the container that are not confined by AppArmor or SELinux. Various other issues were also addressed.
47dbd7d7a0f2824fa938fc929557064d57f6833f03d5e891f292307fdb4e85b7
Content-Disposition: inline
==========================================================================Ubuntu Security Notice USN-2675-1
July 22, 2015
lxc vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 15.04
- Ubuntu 14.10
- Ubuntu 14.04 LTS
Summary:
Several security issues were fixed in LXC.
Software Description:
- lxc: Linux Containers userspace tools
Details:
Roman Fiedler discovered that LXC had a directory traversal flaw when creating
lock files. A local attacker could exploit this flaw to create an arbitrary
file as the root user. (CVE-2015-1331)
Roman Fiedler discovered that LXC incorrectly trusted the container's proc
filesystem to set up AppArmor profile changes and SELinux domain transitions. A
local attacker could exploit this flaw to run programs inside the container
that are not confined by AppArmor or SELinux. (CVE-2015-1334)
Update instructions:
The problem can be corrected by updating your system to the following
package versions:
Ubuntu 15.04:
liblxc1 1.1.2-0ubuntu3.1
lxc 1.1.2-0ubuntu3.1
Ubuntu 14.10:
liblxc1 1.1.0~alpha2-0ubuntu3.3
lxc 1.1.0~alpha2-0ubuntu3.3
Ubuntu 14.04 LTS:
liblxc1 1.0.7-0ubuntu0.2
lxc 1.0.7-0ubuntu0.2
In general, a standard system update will make all the necessary changes. You
will need to restart your previously running LXC containers in Ubuntu 15.04 due
to bug that causes containers to be stopped on during lxc package installation
(https://launchpad.net/bugs/1476691).
References:
http://www.ubuntu.com/usn/usn-2675-1
CVE-2015-1331, CVE-2015-1334
Package Information:
https://launchpad.net/ubuntu/+source/lxc/1.1.2-0ubuntu3.1
https://launchpad.net/ubuntu/+source/lxc/1.1.0~alpha2-0ubuntu3.3
https://launchpad.net/ubuntu/+source/lxc/1.0.7-0ubuntu0.2